Actor-Variable is setting to "None" when any other variables in a Struct are being changed.
I have encountered a behaviour I don't understand, so I assume it's a bug or maybe someone can explain this to me and how I fix it:
I am using a struct named MyStructure for testing with just two variables:
I have the following blueprints:
Now when I use the function to automatically generate the arrays everything works fine, but as soon as I change any variables exposed in the MyActor blueprint in the level, the variables MyChildActor of each array in that particular blueprint actor reset to "None", while all other variables work as expected and aren't resetting.
Reason I am trying to save the MyChildActors in the struct is so I can use another blueprint to run a function in these, which doesn't work because they keep resetting for some reason.
The ID of the child actor components seem to stay exactly the same, so I don't get why they are resetting when I change any other variables in that array, while those other array variables stays the same (As seen in the screenshot). Using the eyedropper to select the child actor component again doesn't work either when any variables are changed.
asked Apr 02 '16 at 07:36 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here