x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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: Plugin Window

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

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! :)

Thanks for reading,

Wabo

Product Version: Not Selected
Tags:
vn4yorj.png (45.2 kB)
vn4yorj.png (45.2 kB)
kshcppq.png (101.4 kB)
more ▼

asked Apr 09 '15 at 12:08 PM in C++ Programming

avatar image

Wabo
43 2 3 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question