Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Animator bug

Discussion in 'Animation' started by JodieH, Sep 26, 2022.

  1. JodieH

    JodieH

    Joined:
    Sep 9, 2022
    Posts:
    12
    I'm unable to use the animator, I can create animations (by which I mean create a file and record animations), but I'm unable to view anything at all, new animations and in the animator itself, it's just completely blank, even if I create a new state, so I can't edit anything or view/create transitions etc.
    Any animation I have previously made creates multiple (and I mean 999+) of the below error. Can anyone help? I have Unity 2021.3.10f1.

    Sorry if the info is vague, I'm still a beginner. If anyone needs more info please just let me know and I'll share what I can.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Graphs.AnimationStateMachine.Graph.GenerateConnectionKey (UnityEditor.Graphs.Node srcNode, UnityEditor.Graphs.Node dstNode) (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimationStateMachine.Graph.GetEdgeInfo (UnityEditor.Graphs.Edge edge) (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimationStateMachine.EdgeGUI.DoEdges () (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimationStateMachine.GraphGUI.OnGraphGUI () (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimatorControllerTool.StateMachineView (UnityEngine.Rect position, System.Single zoomLevel) (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimatorControllerTool.DoGraph (UnityEngine.Rect graphRect, System.Single zoomLevel) (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimatorControllerTool.<SetupGUI>b__143_12 () (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimatorControllerTool.ScopedOnGUI (System.Action onGUIHandler) (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEditor.Graphs.AnimatorControllerTool.<SetupGUI>b__143_10 () (at <9ffac171878549d2bb791ce761794ef0>:0)
    UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    Rethrow as ImmediateModeException
    UnityEngine.UIElements.UIR.RenderChain.Render () (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.Panel.UpdateForRepaint () (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <fe7a0fa708534184bcd39b65327ff33e>:0)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <a0ba38a310dd46a2a6c6f1870dd04b1d>:0)