MissingReferenceException

MissingReferenceException: The object of type ‘Attacker’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.

I did everything but got this error.
What should I do

Privacy & Terms