Using nested comments when also declaring a second UClass in the same header file causes the UHT to have issues when parsing, resulting in a crash of UHT.
/* /* */
UCLASS() class PROJECTNAMEHERE_API UThisClassIsDetectedAsExpected : public UObject { GENERATED_BODY() };
Where PROJECTNAMEHERE matches your project name in all caps
Head over to the existing Questions & Answers thread and let us know what's up.
| 0 |
| Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
|---|---|
| Affects Versions | 4.10, 4.10.4, 4.11, 4.12, 4.16 |
| Target Fix | 5.0 |
| Fix Commit | 16734161 |
|---|
| Created | Mar 14, 2016 |
|---|---|
| Resolved | Jul 23, 2021 |
| Updated | Jul 26, 2021 |
| 3825 - projectgheist |