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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment