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. Dismiss Notice

Draggable ordered list Animcontroller stopped working

Discussion in 'Scripting' started by aduijs, May 13, 2019.

  1. aduijs

    aduijs

    Joined:
    Oct 1, 2017
    Posts:
    5
    Hi,
    Since a couple of days i noticed the the draggable ordered list in the AnimatorController (the parameter list) stopped working. well, i cant drag to order the list anymore and it is generating an error.

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditorInternal.ReorderableList.DoDraggingAndSelection (Rect listRect) (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:707)
    3. UnityEditorInternal.ReorderableList.DoListElements (Rect listRect) (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:595)
    4. UnityEditorInternal.ReorderableList.DoLayoutList () (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:396)
    5. UnityEditor.Graphs.ParameterControllerView.DoParameterList () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/ParameterControllerView.cs:668)
    6. UnityEditor.Graphs.ParameterControllerView.OnGUI (Rect rect) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/ParameterControllerView.cs:752)
    7. UnityEditor.Graphs.AnimatorControllerTool.OnGUIEditor (Rect editorRect) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:1352)
    8. UnityEditor.Graphs.AnimatorControllerTool.<SetupGUI>m__B () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:1622)
    9. UnityEditor.Graphs.AnimatorControllerTool.ScopedOnGUI (System.Action onGUIHandler) (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:1423)
    10. UnityEditor.Graphs.AnimatorControllerTool.<SetupGUI>m__1 () (at C:/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Animation/AnimatorControllerTool.cs:1622)
    11. UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, Matrix4x4 worldTransform, Rect clippingRect, Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:244)
    12.  
    I am using 18.3, even tried to upgrade the project to 18.4 but that didnt help either.
    Any one got an idea what can cause this strange behaviour, and how i can solve it?

    its just this project, a new fresh project doesnt have the issue.
     
    MarconiSYBO and RileCDG like this.
  2. AlbertoFdzM

    AlbertoFdzM

    Joined:
    Jun 7, 2016
    Posts:
    3
    Same problem over here:
    Code (csharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditorInternal.ReorderableList.DoDraggingAndSelection (UnityEngine.Rect listRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:707)
    I'm working with a 2D project in:
    - Unity 2018.4.0f1 Personal
    - MacOS 10.14.5
     
    MarconiSYBO and RileCDG like this.
  3. aduijs

    aduijs

    Joined:
    Oct 1, 2017
    Posts:
    5