-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
sometimes you get
MissingReferenceException: The object of type 'Transform' 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.Transform.get_position () (at <779cc116a5954f1c9b92496e62345641>:0)
EntityController+<DespawnCoroutine>d__11.MoveNext () (at Assets/Scripts/EntityController.cs:70)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <779cc116a5954f1c9b92496e62345641>:0)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working