Download

Error with brush

Blueprint Runtime Error: “Accessed None trying to read property K2Node_Event_Other”. Blueprint: FirstPersonProjectile Function: Execute Ubergraph First Person Projectile Graph: EventGraph Node: Branch
I get this error everytime i shoot a box brush in my level.

You’ve got an object lifecycle screwed up a little bit. You cannot do anything after you destroy the actor since the actor is no longer valid. Because of that, “DestroyActor” must be a last instruction. Just remove both “DestroyActor” nodes and add one as a last node (connect it after the “Set Relative Scale 3D” node or to make it fancy add a sequencer with pin 0 to your branch and “DestroyActor” to to pin 1).

Thank you!