Description

Using a single line comment to immediately follow a multi-line comment closing brace results in an illegible compile errors: "error code: CrashOrAssert(3)"

Workaround:
Include a space between */ and // at the end of the multi-line comment

Steps to Reproduce

1. Open UE4 Editor
2. Create a new C++ project w/o starter content
3. Create code class based on actor
4. Add UCLASS() macro above original UCLASS() macro
5. Add mutli-line comment around the second UCLASS() macro
6. Add single line comment immediately following the closing of the multi-line comment
7. Compile

Result:
Compile will fail with error mentioned in description.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.7.64.8
Target Fix4.10
Fix Commit2658966
Release Commit2712730
CreatedApr 22, 2015
ResolvedAug 18, 2015
UpdatedFeb 5, 2017
View Jira Issue