Hello
In my GameMode.h file I’ve got a following declaration:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<APlanet*> Planets;
Where APlanet is class inheriting after AActor.
I’ve created a blueprint class based on my GameMode.h, and I wanted to set some instances of APlanet in my level, as elements of Planets array. Clicking on + sign works and adds an element, but when I choose an instance from the dropdown, it’s still showing None.
Do I need any other UPROPERTY things to make it work?
The instances are not created in main level, may it be a problem?