TSubclassOf becomes Null when BP spawned
I have room BP. Inside this BP i have custom component. In that component i have TSubclassOf variable, set with another trap BP that i need to spawn.
So when i spawn room BP from my code, this variable TSubclassOf becomes Null.
But! When i simply move room BP to the world, everything okay, and variable not Null, and trap BP is spawning.
How can i fix it?
P.s. Sorry for my english.
asked Aug 27 '16 at 03:59 PM in C++ Programming
This is how i fixed it:
Simply duplicated variable!
answered Aug 28 '16 at 10:39 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here