Why doesn't my UObjects survive GC at compile?
Hello, I have a TArray of a UObject-derived class in an actor class I've written in code. The array is a UPROPERTY and the elements survive a restart of the editor. I create these objects and add them to the array in the editor by a Blutility method. I've created a blueprint that derives from my actor to customize some of the default values. What happens is, if I have an instance of this blueprint in the level and populate the array, I can't compile that blueprint anymore because those elements in the array all become null. I've checked and they are there until the compile.
So, why do they get garbage collected when I compile the blueprint?
Thanks in advance, Can Mert
asked Jul 02 '15 at 05:12 PM in C++ Programming
I am sorry to hear about the issue.
Please note that you can use
Also, if you have
Hope this helped!
Follow this question
Once you sign in you will be able to subscribe for any updates here