Search Issue Tracker
Fixed in 2021.3.37f1
Fixed in 2021.3.X, 2022.1.X, 2022.3.X, 2023.2.X
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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note (fix version 2023.2):
Issue fixed in 2023.2.3f1 and later.
Resolution Note (fix version 2022.3):
Issue fixed in 2022.3.22f1 and later
Resolution Note (fix version 2021.3):
Issue is fixed in version 2021.3.37f1