When mentioning the _Validate Suffix in code comment, Visual Studio compiler throws an error.
void Fire();
/* Mentioning ServerFire_Validate*/
UFUNCTION(Server, Reliable, WithValidation)
void ServerFire();
4.Build Project Solution.
Result: Error: ServerFire_Validate: Is not a member of AMyActor
Expected: Compiler would ignore code comments.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-85807 in the post.
1 |
Component | UE - Foundation - Cpp Tools - UnrealHeaderTool |
---|---|
Affects Versions | 4.22, 4.23, 4.24 |
Target Fix | 5.0 |
Created | Dec 13, 2019 |
---|---|
Resolved | Jul 19, 2021 |
Updated | Aug 3, 2021 |