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
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.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.7.6, 4.8 |
Target Fix | 4.10 |
Created | Apr 22, 2015 |
---|---|
Resolved | Aug 18, 2015 |
Updated | Feb 5, 2017 |