Steps to reproduce:
- Create a new 3D URP project
- In Project Settings > UI Toolkit, enable "Enable Hierarchy Integration"
- In Preferences > General, enable "Use new Hierarchy window"
- In the Hierarchy, right-click > UI Toolkit > Panel Renderer or UI Toolkit > UI Document
- Click New to create .uxml file and open it
- Add any element to the UI Builder Hierarchy (e.g. Button)
- In the Editor Hierarchy, expand the PanelRenderer or UI Document GameObject and select the added element (Button)
- In UI Builder, right-click on the element (Button) and select "Create Template"
- Save it and observe the Console
Actual results: "Assertion failed on expression: 'GetPropertyPath().empty()'
UnityEditor.RetainedMode:UpdateSchedulers ()" error is thrown
Expected results: No errors are thrown
Reproducible with versions: 6000.5.0a7, 6000.5.0b9, 6000.6.0a5
Not reproducible with versions: 6000.4.81, 6000.5.0a6
Tested on (OS): Windows 11
Notes: Sometimes does not reproduce if the Scene is saved after creating Panel Renderer or UI Document GameObject