Search Issue Tracker
Fixed
Votes
0
Found in
2022.2.10f1
2023.1.0b6
2023.2.0a5
Issue ID
UUM-29493
Regression
Yes
"ObjectDisposedException" is thrown in the Console when adding a Component to the GameObject when the Inspector is in Debug mode
How to reproduce:
1. Open the user-attached project “InspectorDebugMode”
2. Open the “SampleScene” Scene
3. Select a “Cube” GameObject in the Hierarchy
4. Change the Inspector mode from Normal to Debug
5. Add the “NewBehaviourScript.cs” Component to the “Cube” GameObject
6. Observe the Console
Expected result: There are no error messages
Expected result: The error messages are spammed until you switch the Inspector back to the Normal mode
Reproducible with: 2022.2.0a9, 2022.2.10f1, 2023.1.0b6, 2023.2.0a5
Not reproducible with: 2020.3.45f1, 2021.3.20f1, 2022.2.0a8
Reproducible on: Windows 11 Pro
Workaround: Add a Component In Normal Mode and switch to Debug mode
Note: It is reproducible with all Components
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
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
- Reordering Enum Values in VFX Graph Uint Property expands the “Value” field
- Visual Effect Graph sample titles display in non-human-readable format
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-21869