Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Enable Hierarchy V2 (Unity > Settings > General > Use new Hierarchy window)
- Focus any other Editor window than Hierarchy V2 window (Game View for example)
- Create a new GameObject via the Editor Toolbar (GameObject > Create Empty)
- Press Enter on the keyboard
- Observe the Hierarchy V2 window
Actual results: The GameObject is created but the Enter key does not finish renaming
Expected results: The GameObject is created and renaming is finished
Reproducible with versions: 6000.3.0a6
Tested on (OS): macOS Silicon Sequoia 15.6