Get Num Materials doesn't work on Begin Play
Not sure if this a bug or just a limitation of how the engine handles the initialization. I made it with a spawned BP in 4.6.1. Interestingly it works with a delay that is zero seconds long. I guess that is then 1 tick when it is set to 0.
(comments are locked)
|
Your answer
Follow this question
Once you sign in you will be able to subscribe for any updates here
Hi Davison,
I wasn't able to reproduce the behavior you described. If I spawn an actor on begin play and then print the return from Get Num Materials, it gives me the correct value. Can you give me some images of your setup that was not working? Thanks!