Search Issue Tracker
Duplicate
Votes
0
Found in
2020.2.0b3
2020.3
2021.2
2021.2.8f1
2022.1
2022.2
Issue ID
1397522
Regression
Yes
ArgumentOutOfRangeException is thrown for ReorderableList when nesting SerializedProperties
How to reproduce:
1. Open the user's attached project
2. In the Project window, navigate to Assets/Scripts
3. Select the Asset "Recurse Asset Array Error"
4. In the Inspector window, expand one of the "RecurseAsset Array Error-0" fields and attempt to add further nested arrays
Expected result: no errors are thrown
Actual result: error is thrown: "ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection."
Reproducible with: 2020.2.0b3, 2020.3.29f1, 2021.2.12f1, 2022.1.0b8, 2022.2.0a5
Not reproducible with: 2019.4.36f1, 2020.2.0b2
Notes:
1. In 2020.2, the error is thrown but nested arrays can be added further, while in later versions the error breaks the Inspector and nested arrays cannot be added
2. Related errors are thrown in some versions: "InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)", "ArgumentNullException: Value cannot be null.", "NullReferenceException: SerializedObject of SerializedProperty has been Disposed."
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
This is a duplicate of issue #1374418