Unreal engine error attmpted to acces CollisionCylinder via property CapsuleComponent, but CollisionCylinder is pending kill

Hello,

is an error in my project because I cannot fix it, I created an AI and everything works, but I also did it in the blueprint so that when I shoot it, it is made into a rag doll, but it doesn’t happen, and you can then go through it

Hello! Hit event can happen more than one time, can you check Capsule Component for validity before trying to Destroy it?

1 Like

Solved! I kept getting that error when destroying the AI’s capsule component upon death, just adding in an “Is Valid” node fixed the problem! Thank you!