Steps to reproduce:
- Create a new project using Universal 3D Template
- Go to Edit > Preferences > General and enable "Use new Hierarchy window"
- Go to Edit > Project Settings > UI Toolkit and enable "Enable Hierarchy Integration"
- In the Hierarchy, right-click > UI Toolkit > UI Document with Asset
- Open the created uxml asset in the UI Builder
- From Library in "Numeric Fields" drag a "Integer" field to Hierarchy
- Save and close the UI Builder
- In the Hierarchy, fully expand the "UIDocument" GameObject
- Click on the "IntegerInput" GameObject
- Observe the Console
Actual results: "ArgumentOutOfRangeException: index of -1 should be in the range of 0 and 63 inclusively." error is thrown
Expected results: no errors
Reproducible with versions: 6000.5.0a1, 6000.5.0a6
Not reproducible with versions: 6000.3.7f1, 6000.4.0a3, 6000.4.0b7
Tested on (OS): Windows 11
Notes:
- Reproduces with other fields from the Numeric Field foldout as well