[Closed] Problem with projectile - Collision Component is pending kill
I have error log. In game nothing bad happens, but I have error message like this:
How to avoid this?
asked Mar 01 '17 at 11:03 PM in Blueprint Scripting
The question has been closed Dec 06 '17 at 08:34 PM by Vaheva for the following reason:
The question is answered, right answer was accepted
I'm closing it now, this is very old question. Now I use a lot IsValid check - when you put it on projectile it will work only when is valid, means exists in world and not begin destroy. If is or will be destroyed, you not need additional actions, so it will be ignored and no more error messages like this. IsValid check is very important and it should be used in many other situations where actor, projectile etc can be destroyed and not only. Sometime it is not yet created and game code can want to do something with object, so before is good to add IsValid. https://docs.unrealengine.com/latest/INT/BlueprintAPI/Utilities/IsValid/ Return true if the object is usable : non-null and not pending kill This can be pure or normal.
Follow this question
Once you sign in you will be able to subscribe for any updates here