Not signed in
Copyright © 2026 Unity Technologies
Fixed as part of another issue which was tangentally related.
There are two issues that can happen when deleting a node that is in the process of entering its rename mode:
Steps to reproduce:
NullReferenceException: Object reference not set to an instance of an object Unity.Hierarchy.Editor.HierarchyGameObjectHandler.Unity.Hierarchy.IHierarchyEditorNodeTypeHandler.CanSetName (Unity.Hierarchy.HierarchyView view, Unity.Hierarchy.HierarchyNode& node) (at D:/UnitySrc/u/u3/Modules/HierarchyEditor/ScriptBindings/HierarchyGameObjectHandler.bindings.cs:206) Unity.Hierarchy.HierarchyViewItem.BeginRename () (at D:/UnitySrc/u/u3/Modules/Hierarchy/Managed/HierarchyViewItem.cs:305) Unity.Hierarchy.HierarchyView+<>c__DisplayClass174_0.<OnClickEvent>b__0 () (at D:/UnitySrc/u/u3/Modules/Hierarchy/Managed/HierarchyView.cs:1500) UnityEngine.UIElements.VisualElement+SimpleScheduledItem.PerformTimerUpdate (UnityEngine.UIElements.TimerState state) (at D:/UnitySrc/u/u3/Modules/UIElements/Core/VisualElementScheduler.cs:385) UnityEngine.UIElements.TimerEventScheduler.UpdateScheduledEvents () (at D:/UnitySrc/u/u3/Modules/UIElements/Core/Scheduler.cs:386) UnityEngine.UIElements.Panel.TickSchedulingUpdaters () (at D:/UnitySrc/u/u3/Modules/UIElements/Core/Panel.cs:1523) UnityEngine.UIElements.UIElementsUtility.UpdateSchedulers () (at D:/UnitySrc/u/u3/Modules/UIElements/Core/UIElementsUtility.cs:179) UnityEditor.RetainedMode.UpdateSchedulers () (at D:/UnitySrc/u/u3/Modules/UIElementsEditor/RetainedMode.cs:44) UnityEngine.StackTraceUtility:ExtractStringFromExceptionInternal(Object, String&, String&) (at D:/UnitySrc/u/u3/Runtime/Export/Scripting/StackTrace.cs:50)
Actual results:
For scenario 1: renaming starts on another node.
For scenario 2: errors are thrown in the console.
Expected results:
For scenario 1: no renaming is started.
For scenario 2: no errors are thrown.
Reproducible with versions: 6000.6.0a2
Not reproducible with versions:
Can’t test with versions:
Tested on (OS): Windows 11.
Notes:
Sign in to see your voted issues