Search Issue Tracker

Fixed in 2019.3.X

Fixed in 2018.3.X, 2019.2.X

Votes

0

Found in

2018.3.14f1

2019.2.0a11

2019.2.0a12

2019.3.0a1

Issue ID

1146538

Regression

Yes

[Editor] Attempting to change the order of a Reorderable List creates a NullReferenceException

Themes

-

To reproduce:
1. Create a new project
2. Go to Project Settings > Player > Other Settings
3. Have two+ different graphics APIs in a list
4. Drag one of the APIs above/below other

Expected: They switch positions
Actual: Nothing happens and you get NullReferenceException in the console

Reproduced in 2018.3.14f1, 2019.2.0a12, 2019.3.0a1
Not reproduced in 2019.2.0a11, 2019.1.0f2

Tested and reproduced on Linux and Windows 10

Reproducible on Mac 10.14 as well with Unity 2019.2.0a12

Comments (16)

  1. eyeskills

    Jun 06, 2019 15:16

    Still there in 2019.3.0a2. :o/

  2. impossible

    May 21, 2019 18:36

    Still having this issue in 2019.3

  3. Stefferp

    May 20, 2019 18:40

    This is still present in 2019.2.0b2 when trying to drag an audio snapshot

  4. kierank1994

    May 18, 2019 15:38

    I still get this issue.

    2019.3.0a2

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditorInternal.ReorderableList.DoDraggingAndSelection (UnityEngine.Rect listRect) (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:708)
    UnityEditorInternal.ReorderableList.DoListElements (UnityEngine.Rect listRect) (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:595)
    UnityEditorInternal.ReorderableList.DoLayoutList () (at C:/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs:396)
    UnityEditor.TagManagerInspector.OnInspectorGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/TagManagerInspector.cs:326)
    UnityEditor.UIElements.InspectorElement+<CreateIMGUIInspectorFromEditor>c__AnonStorey1.<>m__0 () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:479)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  5. Aveno

    May 10, 2019 17:40

    Uh.. I saw this bug marked as "Fixed in future release" so I was impatiently awaiting that upcoming release. Today 2018.4 finally dropped and.. this bug is still around. :(

  6. AnomalusUndrdog

    Apr 29, 2019 06:48

    Couldn't reorder Animator Controller layers because of this too.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.