Steps to reproduce:
- Create a new project
- In Project Settings > UI Toolkit enable "Enable in-scene UI Authoring"
- In the Project window choose Create > UI Toolkit > UI Document to create a UXML asset then drag into into a Scene's Hierarchy
- From the Hierarchy open it in context
- With the authoring stage still open, in the top menu bar choose GameObject > Create Empty
- Click the first breadcrumb entry (the scene name) to return to the Main Stage and look at the open scene in the Hierarchy
Actual results: Choosing GameObject > Create Empty and GameObject > 3D Object > Cube from the top menu bar while in the UI Toolkit authoring stage gives no visible feedback in the stage and the objects do not appear in the document Hierarchy. They are silently created in the hidden main scene
Expected results: GameObject creation menu items are disabled when in UI Authoring stage as it won't create a GameObject in the current UI Hierarchy as it would in a Prefab's Context Hierarchy
Reproducible with versions: 6000.6.1f1, 6000.7.0a6
Can’t test with versions: 6000.0.84f1, 6000.3.24f1, 6000.5.11f1 (No in scene authoring)
Tested on (OS): Windows 11