If you get this error:
"MissingReferenceException: The object of type __ 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."
then the first thing you should do is to check if you have (additional) inspector window locked.
[…]