Search Issue Tracker
Fixed
Fixed in 6000.6.0a4
Votes
0
Found in
6000.4.2f1
6000.5.0b3
6000.6.0a3
Issue ID
UUM-139727
Regression
Yes
NullReferenceExceptions appear when clicking to rename and then deleting the only GameObject in a scene
How to reproduce:
- Create and open a new project
- Ensure the new Hierarchy is enabled (Edit → Preferences→ General → Use new Hierarchy window)
- Delete all but one GameObject from the scene (for instance, leave only the “Main Camera” in the scene)
- Select the remaining GameObject in the Hierarchy
- Wait a second or so (to prevent double-click behavior)
- Click the remaining GameObject in the Hierarchy again (while it is still selected) to trigger the rename timer
- Quickly press the “Delete” key before the rename field appears
- Observe the Console
Actual result: Numerous NullReferenceExceptions appear in the Console
Expected result: No errors appear in the Console
Reproducible with: 6000.4.0a5, 6000.4.3f1, 6000.5.0b4, 6000.6.0a3
Not reproducible in: 6000.3.13f1, 6000.4.0a4
Could not test with: 2023.1.0a4, 6000.0.73f1 (the new Hierarchy was introduced in 6000.3)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: The NullReferenceExceptions stop appearing once a GameObject has been added to the scene
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Some post-processing volume overrides only update after a refresh when using HDRP
- Video Player glitches when Skip On Drop is enabled
- GameObject movement in Scene view becomes stuttery and intermittently freezes when using non-standard pointers across editor tabs or window boundaries
- Addressables.CheckForCatalogUpdates() always returns 0 when "Only update catalogs manually" is enabled
- VFX Graph forces a lengthy recompilation freeze when exiting Play Mode with a cloned Render Pipeline asset
Add comment