Search Issue Tracker
Fixed
Fixed in 6000.0.59f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a2
Votes
2
Found in
6000.0.57f1
6000.2.3f1
6000.3.0a6
6000.4.0a1
Issue ID
UUM-117267
Regression
No
Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Window > UI Toolkit > Debugger
3. Dock the “UI Toolkit Debugger” tab next to another panel (e.g., dock it with the Inspector).
4. Click another tab (e.g., “Inspector”) so that “UI Toolkit Debugger” is docked but not the visible/active tab.
5. Close the Editor
6. Reopen the same project
Expected result: No Errors exist
Actual result: Error “NullReferenceException: Object reference not set to an instance of an object“ is present
Reproducible with: 6000.0.57f1, 6000.2.3f1, 6000.3.0a6
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- The exception spam immediately stops once the “UI Toolkit Debugger” tab is brought to the foreground (made the active/visible tab)
- The issue does not occur if the UI Toolkit Debugger window is closed before launch, or if it is the active/visible tab when the Editor opens.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
- Unity Version Control server textfield’s text overlaps with the dropdown triangle button in the Explore repositories window when an organization with a long name is selected
Add comment