Changing an Actor Array inside a plugin window

Hey guys,

I’m currently facing a problem when editting an array inside my plugin window. Be it either an AActor typed array, or any other actor-derived class type, i.e: ATargetPoint.

Inside my header file, the array is defined as:

/** List of all locations where our platform will move towards. */
UPROPERTY(EditInstanceOnly, BlueprintReadOnly, Category = "MovementProperties")
TArray<ATargetPoint*> TargetPointLocations;

Building the plugin works fine, and I can see the Array inside my plugin window:

When I press on the Add array index button, and try to select an object in my scene:

I get the following error:

LogProperty:Warning: Illegal TEXT reference to a private object in external package (TargetPoint /Game/StarterContent/Advanced_Lighting.Advanced_Lighting:PersistentLevel.TargetPoint_2) from referencer (PlatformBuilderDescriptorObject /Engine/Transient.PlatformBuilderDescriptorObject_0).  Import failed...

What is weird to me, is that I am able to change the ATargetPoint to anything like, UObject, or UClass, or any other type, and the dropdown simply works. However it doesn’t work when I try to select an AActor typed class from my Scene Outliner.

I’m really tearing hairs out of my head right now since I have been stuck on this issue for a couple of weeks now, trying to avoid it and working on other stuff. At this point, it can’t be avoided anymore and is blocking further development of our plugin.

If somebody could point me into the right direction, that would be gratefully appreciated! :slight_smile:

Thanks for reading,