How to reproduce:
1. Create a new Unity project
2. Create a UXML file (Assets/Create -> UI Toolkit -> UI Document) and introduce a UXML syntax error in it using a text editor
3. Double-click the UXML asset to open it in UI Builder
4. Observe the results
Expected results: UI Builder opens showing its "failed to parse" state for the file, and the code editor is not launched
Actual results: UI Builder opens without the file loaded, "UI Builder Failed to open Assets/UITAuthoringRepro/New UXML.uxml asset..." error is thrown, and the code editor separately opens with the broken UXML file
Reproducible with: 6000.0.81f1, 6000.3.17f1, 6000.5.10f1, 6000.6.0f1, 6000.7.0a6
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
First lines of error:
UI Builder Failed to open Assets/UITAuthoringRepro/New UXML.uxml asset. This may be due to invalid UXML syntax or UXML syntax the UI Builder does not yet support. Check console for details.