Steps to reproduce:
- Create a new 3D URP project
- In the Hierarchy, right-click > UI Toolkit > Standard Elements > Visual Element
- Save the new .uxml file
- Observe it opens in context
- Select the Visual Element
- In the Inspector, enter any name
- Without pressing Enter/Return, press Ctrl/Cmd+S (or File > Save)
- Observe the name field
Actual results: The name field clears and is not saved
Expected results: The name is committed on save and remains in the Name field
Reproducible with versions: 6000.6.0b1, 6000.6.2f1, 6000.7.0b2
Can’t test with versions: 6000.3.24f1 (in context editing not available)
Tested on (OS): Ubuntu 24.04, macOS 26.5
Notes:
- Name is saved when inputting it the second time
- Does not reproduce if Enter/Return is pressed in the Name field before saving - the name is only lost when the field is still uncommitted at save time