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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-21869