Reproduction steps:
1. Open the attached project “ReproProject”
2. In the Hierarchy Window, select the “Main Camera” GameObject
3. In the Inspector Window, reorder the list items (snow and iron) in the attached Demo (Script) Component
4. Observe the editor’s behaviour
Expected result: The List items are reordered Instantly
Actual result: Unity crashes, or the Inspector Window takes more time to update the reordering changes
Reproducible with: 2022.3.5f1, 2022.3.7f1, 2023.1.4f1, 2023.1.8f1, 2023.2.0b3
Not Reproducible with: 2021.3.29f1, 2022.3.4f1, 2023.1.0a1, 2023.1.3f1
Testing environment: macOS(Intel) 13.4.1
First few lines of the stack trace:
{{at <unknown> <0xffffffff> at UnityEditor.SerializedProperty:MoveArrayElementInternal <0x0009e> at UnityEditor.SerializedProperty:MoveArrayElement <0x000f2> at UnityEditorInternal.ReorderableList:DoDraggingAndSelection <0x021ca> at UnityEditorInternal.ReorderableList:DoListElements <0x02a6a> at UnityEditorInternal.ReorderableList:DoList <0x007d2> at UnityEditorInternal.ReorderableListWrapper:DrawChildren <0x00b32> at UnityEditorInternal.ReorderableListWrapper:Draw <0x013ca> at UnityEditor.PropertyHandler:OnGUI <0x0136a> at UnityEditor.PropertyHandler:OnGUI <0x0013a> at UnityEditor.PropertyHandler:OnGUI <0x01baa> at UnityEditor.PropertyHandler:OnGUI <0x0013a> at Defaults:DrawElement <0x002c2> at }}
Note: The crash might not occur at the first time of reordering.