Mastermind Interactive
Member
Instead of using the respawner for the player, I am opting to reload the level so that the level setup, enemy generation, etc is restarted from scratch. The problem is that when I die and use Application.LoadLevel(Application.loadedLevel); - I get a ton of errors:
MissingReferenceException: The object of type 'Animator' 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.
UnityEngine.Animator.GetBool (System.String name) (at C:/buildslave/unity/build/Modules/Animation/ScriptBindings/Animator.bindings.cs:339)
Do you know what happens to be calling this?
MissingReferenceException: The object of type 'Animator' 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.
UnityEngine.Animator.GetBool (System.String name) (at C:/buildslave/unity/build/Modules/Animation/ScriptBindings/Animator.bindings.cs:339)
Do you know what happens to be calling this?