Search Issue Tracker

Fixed in 2019.3

Fixed in 2018.3, 2019.2

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. D5203e2f4fab04aa285ab748d7f5bd82?d=mm

    eyeskills

    Jun 06, 2019 15:16

    Still there in 2019.3.0a2. :o/

  2. 3822b058bdcde9124dd4a8467801e66a?d=mm

    impossible

    May 21, 2019 18:36

    Still having this issue in 2019.3

  3. 5e1cca67147819e87a65b24316c54157?d=mm

    Stefferp

    May 20, 2019 18:40

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

  4. 958919c1455a5b859e1b0abbf4199372?d=mm

    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. B7c1ecc83c0e0054b7903a810824c87f?d=mm

    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. Ac206eb0677a3efbb97218dbc79f9eff?d=mm

    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.