Search Issue Tracker
Fixed in 2022.2.16f1
Fixed in 2023.2.0a12
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2022.2.16f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-21869
Resolution Note (fix version 2023.2.0a12):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-21869