I need to reference object in scene to modify its array from another object. I writed
public: UPROPERTY(EditAnywhere) AActor* Reference;
Now in “Details” tab i have window where i can select actor manually, but when i try to select ANY actor in scene I get this error:
Warning: Illegal TEXT reference to a private object in external package (StaticMeshActor /Game/MainScene.MainScene:PersistentLevel.Cube_2) from referencer (MyMyPlayerController_C /Engine/Transient.World_6:PersistentLevel.MyMyPlayerController_C_0). Import failed...
What does this mistake mean at all? Wrong type? But the type of the object matches the expected type.
The actor im trying to reference is alredy exist in scene.