Search Issue Tracker


Fixed in 2021.3.20f1, 2022.2.6f1, 2023.1.0a6, 2023.2.0a1



Found in





Issue ID




Crash on SerializedProperty::IsValid() when selecting multiple ScriptableObjects



Reproduction steps:
1. Open the user's attached project
2. Go to folder "Assets -> Puzzles"
3. Select all the objects in the folder

Expected result: All objects are selected
Actual result: The Editor crashes

Reproducible with: 2021.2.15f1, 2021.3.15f1, 2022.1.23f1
Not reproducible with: 2020.3.42f1, 2021.2.14f1, 2022.2.0a1, 2022.2.0b15, 2023.1.0a21

Reproducible on: macOS 12.5.1 (Intel)

Note: On 2021.3.7f1 this was reproduced with IMGUI but does not crash when UIToolkit is selected in the inspector.  The trouble seems related to the Map which is an array of enums.  Most objects have more than 64 elements, but simpleloop3 has exactly 64.  the presence of simpleloop3 seems to be the key to the repro, because you can select all the other lists without a crash.
Expected: When working properly, it is expected IMGUI does not allow multi-selection editing of arrays with more than 64 elements (a warning is shown on the inspector instead).  (UIToolkit does not have that limit and instead is showing the smallest size in the selection, unless you select simpleloop1 + simpleloop2 in which case it only shows 0 elements)


#0 0x00000108f3d863 in SerializedProperty::IsValid()
#1 0x000001074a0927 in SerializedProperty_Get_Custom_PropIsValid(ScriptingBackendNativeObjectPtrOpaque*)
#2 0x0000021512f3b9 in (wrapper managed-to-native) UnityEditor.SerializedProperty:get_isValid (UnityEditor.SerializedProperty) [


+ 0xf9] (0x21512f2c0 0x21512f4b8) [0x1594c2a80 - Unity Child Domain]
#3 0x0000021515ea23 in UnityEditorInternal.ReorderableList:DoList (UnityEngine.Rect,UnityEngine.Rect) [


+ 0x853] [/Users/bokken/buildslave/unity/build/Editor/Mono/GUI/ReorderableList.cs :: 746u] (0x21515e1d0 0x21515eaed) [0x1594c2a80 - Unity Child Domain]
#4 0x0000021515b19b in UnityEditorInternal.ReorderableListWrapper:Draw (UnityEngine.GUIContent,UnityEngine.Rect,UnityEngine.Rect,string,bool) [


+ 0x1bbb] [/Users/bokken/buildslave/unity/build/Editor/Mono/Inspector/ReorderableListWrapper.cs :: 155u] (0x2151595e0 0x21515b234) [0x1594c2a80 - Unity Child Domain]

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.