UnrealHeaderTool cannot parse certain declarations with a trailing `const` instead of a leading `const`.
UPROPERTY() TSoftObjectPtr<const UObject> MyPtr; // Fine UPROPERTY() TSoftObjectPtr<UObject const> MyPtr; // UHT Error: Missing '>' in TSoftObjectPtr UPROPERTY() TArray<TSoftObjectPtr<UObject> const> MySoftObjects; // UHT Error: Missing '>' in TSoftObjectPtr
Expected: code should compile.
Actual: code gives the errors mentioned above.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-64110 in the post.
0 |
Created | Sep 17, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |
5114 - projectgheist |