I also have a Blueprint derived from this class.
In this Blueprint i have a function that spawns ASpriteActors and adds them to the array.
But for some reason this only works in Editor and not in Separate Windows (e.g. mobile preview, packaged game, etc.). I don’t get any error or anything, the function just does not spawn the actors.
The funny thing is that it DOES work when i create a separate array in the blueprint and use it instead of the c++ array. I may be missing some required UPROPERTY or something, but i have not found anything as to why this problem occurs.
I hope some of you can give me more insight, thanks in advance
I’ve attempted to reproduce your issue, but I’m not seeing the same results. Here’s how I’m populating my array. For my test, I’ve used just the base Actor class. Not all of the code is necessary, but I put in some extra checks and logging just for testing purposes.