Search Issue Tracker

Fixed

Fixed in 6000.4.0a4

Votes

0

Found in

6000.4.0a2

Issue ID

UUM-122118

Regression

No

UI Builder Setting Data Binding Type to Unity.UIToolkit.Editor Style Property Binding starts throwing unclearable errors and freezes Editor windows

-

Steps to reproduce:

  1. Open the attached project
  2. Open the testDocument.uxml in UI Builder
  3. Select the Label element in the Hierarchy
  4. Add Binding for the Text value
  5. In the Add Binding window, set Type to Unity.UIToolkit.Editor -> Style Property Binding
  6. Press the Add Binding Button
  7. 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 

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.