Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Create a new Button in the Hierarchy window (Right-click > UI Toolkit > Standard Elements > Button)
- Enter editing stage by clicking the "Continue" butotn
- Save
- Right-click the Button and select "Open in UI Builder"
- Delete the Button in UI Builder
- Save and exit the UI Builder
- Observe the Hierarchy window
- Try editing the Button's settings in the Inspector
- Observe the Inspector
Actual results: The Button remains in the Hierarchy even after being deleted and saved in UI Builder, changing the Button's settings in the Inspector is not responsive, sometimes it changes, sometimes it does not, and sometimes a "IndexOutOfRangeException" error is thrown
Expected results: The Button is deleted
Reproducible with versions: 6000.6.0b5, 6000.7.0a3
Can’t test with versions: 6000.0.80f1, 6000.3.20f1, 6000.5.5f1 (due to feature missing)
Tested on (OS): MacOS Silicon Tahoe 26.5.1