Access None and Pending kill


Im having issues with “Accessed none” and “Pending kill”

Im trying to change the material of my rocket launcher projectile with a button press. This set material node worked for other stuff but is not working for my projectile because the actor get destroyed. I guess i just don’t know how to get a reference to the projectile?

Hi Bushwookie,

I have an idea for another approach. Instead of setting the color directly on the mesh, what if you set up a ‘What color should I be when I spawn’ system in the projectile? (Then, instead of attempting to operate on things that might already be destroyed or are about to be destroyed, the rockets would know what color to spawn as based on the setting)

Cheers