[BUG] Array Members in Arrays of Structs Just Plain Don't Work
Title is a bit of a mouthful, so in less concise terms and a picture paints a thousand words:
If you have a struct with an array as a member, then create an array of those structs, attempting to use 'Add' on the struct array will fail every time. It works once (index = 0), but subsequently never works again. I tested this by logging the actor being added to the array, then logging the contents of the array before and after the add operation - as you can see, nothing is being added to the array:
Edit: I have tried duplicating the array into a temporary one, then assigning it back to the struct, this also does not work. Whilst the temporary array does receive a new entry, when setting the struct member array, it once again only has the first index and loses the new one.
I solved it with the object blueprint for now, thanks for the help Holybreath and ambershee.
answered Oct 31 '16 at 08:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here