I don’t know how to track down what asset is missing… this is an editor error, not an in-game issue.
Works fine in-game.
However, my game started taking 20-50 seconds to load after this error began:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Graphs.AnimationStateMachine.TransitionEditionContext.BuildNames () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/TransitionEditionContext.cs:44)
UnityEditor.Graphs.AnimationStateMachine.TransitionEditionContext..ctor (UnityEditor.Animations.AnimatorTransitionBase aTransition, UnityEditor.Animations.AnimatorState aSourceState, UnityEditor.Animations.AnimatorStateMachine aSourceStateMachine, UnityEditor.Animations.AnimatorStateMachine aOwnerStateMachine) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/TransitionEditionContext.cs:28)
UnityEditor.Graphs.AnimationStateMachine.AnimatorTransitionInspectorBase.ComputeTransitionContexts () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/AnimatorTransitionInspectorBase.cs:125)
UnityEditor.Graphs.AnimationStateMachine.AnimatorTransitionInspectorBase.OnEnable () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/AnimatorTransitionInspectorBase.cs:87)
UnityEditor.Graphs.AnimationStateMachine.AnimatorStateTransitionInspector.OnEnable () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/AnimationStateMachine/AnimatorStateTransitionInspector.cs:55)
A lot of Editor errors can be ignored. The editor happens to get some stuff set funny, sprays some errors, tries again and figures it out. Of course, these particular errors might mean something, not sure.
– OrthographizeIf the game load time didn't dramatically slow down at the same time these errors started, I would agree!
– CapableI have the same problem. It popped up when I started trying to manually play animations in my animator controller via scripting. I have no idea what's causing it.
– AmandI have same problem too, it's a rare case, but showing the animator tab looks like solving the problem, and when I relaunch Unity, this error never popping again.
– Scourgeanybody knows the permanent solution for this so far?
– Scourge