Is it possible to use a custom c++ class as a UPROPERTY? I’ve created a basic c++ class ( not extending off anything ). If I attempt to use it as a UPROPERTY I get a compiler error ( ‘Unrecognized type’ ). Is what I want possible or do I need to convert to a USTRUCT or something?
No it’s not possible, your class should be derived from UObject.
If you can provide more info about what you’re trying to achieve I can be more specific in advices.
Thx. I was creating a class to hold game stat information like fastest times. Changing it to UObject solves my issues.