Search Issue Tracker
Fixed
Fixed in 2021.3.37f1, 2022.3.22f1, 2023.2.3f1
Votes
0
Found in
2021.3.14f1
2022.1.0a9
Issue ID
UUM-20483
Regression
Yes
ObjectDisposedException is thrown when resizing an array drawn in a custom editor
Reproduction steps:
1. Open the “My project“ project
2. Select the “another-behaviour“ GameObject
3. Set the “Behaviours” array size to 0 using the size field
4. Set the “Behaviours” array size to 1, 2 or 3 using the size field or the “+” button
5. Observe the Console
Expected result: no errors
Actual result: “ObjectDisposedException: SerializedProperty behaviours.Array.data[3] has disappeared!” error
Reproduced in: 2021.3.0f1, 2021.3.14f1, 2022.1.0a9
Not reproduced in: 2020.3.42f1 (although it displays the array different), 2022.1.0a10, 2022.1.24f1, 2022.2.0f1, 2023.1.0a22
Reproduced using: macOS Monterey 12.0.1 (Intel), Windows 10 (by the user)
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 2023.2.3f1):
Issue fixed in 2023.2.3f1 and later.
Resolution Note (fix version 2022.3.22f1):
Issue fixed in 2022.3.22f1 and later
Resolution Note (fix version 2021.3.37f1):
Issue is fixed in version 2021.3.37f1