Steps to reproduce:
- Open the attached project
- Open the testDocument.uxml in UI Builder
- Select the Label element in the Hierarchy
- Add Binding for the Text value
- In the Add Binding window, set Type to Unity.UIToolkit.Editor -> Style Property Binding
- Press the Add Binding Button
- Observe the Console Window
Actual results: "ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: stylePropertyId" errors are constantly thrown, and the UI Builder window partially freezes
Expected results: Selecting Unity.UIToolkit.Editor -> Style Property Binding type does not throw any errors, or the Type is hidden in the UI Builder Window
Reproducible with versions: 6000.4.0a1, 6000.4.0a2
Not reproducible with versions:
Can’t test with versions: 6000.0.59f1, 6000.2.8f1, 6000.3.0b6 (Unity.UIToolkit.Editor -> Style Property Binding type is not available)
Tested on (OS): macOS 26.0.1
Notes:
- If the UI Builder window is docked when the issue occurs, the window tab becomes rendered in solid black after trying to resize it
- Undo action or Discarding Unsaved document changes does not resolve the issue
- If changes are not saved, reloading the project will resolve the problem
- If changes were saved, reloading the project does not resolve the issue. In this case, the issue only goes away after manually editing the .uxml file by removing the binding and then restarting the project