How to implement a C++ Struct in UE4/UE5?

GENERATED_USTRUCT_BODY() is actually the old version. You should use GENERATED_BODY() that can be used for everything.

https://forums.unrealengine.com/t/staticstruct-is-not-a-member-of-ftest/439548/3

1 Like