Search Issue Tracker
Fixed
Fixed in 6000.0.63f1, 6000.2.13f1, 6000.3.0f1, 6000.4.0a5, 6000.5.0a2
Votes
0
Found in
6000.2.11f1
6000.3.0b9
6000.4.0a4
6000.5.0a1
Issue ID
UUM-125901
Regression
Yes
UI Builder throws errors and breaks the UI Document when renaming elements and saving without validating
How to reproduce:
- Create and open a new project
- Create a new UI Toolkit → UI Document in the Project tab
- Double-click it to open it in UI Builder
- Add two Visual Elements and select the first added Visual Element
- In the top right of the UI Builder’s Inspector, rename the Visual Element to anything
- Without pressing Enter, press CTRL + S to save the changes
- Observe the Console
Expected result: The new name is validated and saved automatically
Actual result: A UI Document parsing error dialog box pops up, and when dismissed, two “Index was outside of bounds of the array” errors are thrown
Reproducible in: 6000.0.0b12, 6000.0.62f1, 6000.2.11f1, 6000.3.0b9, 6000.4.0a4
Not reproducible in: 6000.0.0b11
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- Afterward, the UXML becomes unusable - no element can be added to the Hierarchy, and “Index was outside of bounds of the array” errors are constantly being spewed out on any change made to the UXML
- Opening the UXML after the reproduction always throws one “Invalid UXML or USS: System.IndexOutOfRangeException: Index was outside the bounds of the array.” error
- The problem cannot be reproduced if the project is created in 6000.2.0a4 for some reason. Only downgrading from 6000.4.0a4 (and maybe some other versions) will yield actual results
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Add comment