Hi,
Why does the UPROPERTY make compile error ?
USTRUCT(BlueprintType)
struct FPlanet
{
GENERATED_USTRUCT_BODY()
UPROPERTY() // <------------- error code: OtherCompilationError (5)
TArray<FPlanet> Moons;
AAUPlanet * PlanetActor;
TArray<AAUPlanet*> MoonsActors;
FSolarSystem * SolarSystem;
FPlanet * Planet; // for moons only
void Generate(bool isMoon = true);
};