Search Issue Tracker
Fixed
Fixed in 6000.5.0a7
Votes
0
Found in
6000.3.4f1
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131883
Regression
No
Unable to delete Tree GameObjects and “NullReferenceException” errors are thrown when using Hierarchy V2 and trying to open the GameObject context menu after deleting a Tree Prefab
Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Make sure Hierarchy V2 is enabled
- Create a new Tree GameObject (GameObject > 3D Object > Tree)
- Delete the "Assets/Tree.prefab" prefab
- Repeat step 2
- Observe the Hierarchy V2 window
- Select all Tree GameObjects in the Hierarchy V2 window
- Delete the selected Tree GameObjects
- Repeat step 6
- Right-click any of the leftover Tree GameObjects in the Hierarchy V2 window
- Observe the Console window
Actual results: Multiple Trees are created after deleting a Tree Prefab, some Tree GameObjects are impossible to delete from the Hierarchy V2 window, and a "NullReferenceException: Object reference not set to an instance of an object" error is thrown when right clicking one of the un-deleted Tree GameObjects
Expected results: Only one Tree GameObject is created upon creation, all the Tree GameObjects can be deleted from the Hierarchy V2 window and no errors are thrown when right-clicking a Tree GameObject
Reproducible with versions: 6000.3.4f1, 6000.4.0b3, 6000.5.0a4
Can’t test with versions: 6000.0.65f1 (due to no Hierarchy V2)
Tested on (OS): MacOS Silicon Tahoe 26.1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment