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
- [Vulkan] Crash on with multiple stack traces when rendering large Terrain with specific hardware
- Crash on SkinnedMeshRendererManager when interacting with a prefab generated with uncombined meshes using Synty Sidekick Character Creator
- Crash on folly::detail::safe_assert_terminate_v when updating the Meta XR SDK Packages
- The text font falls back on a different font depending on the fallback font used
- Template is opened in Isolation when opening it in Context and users Save the UI Document when prompted to do so in UI Builder
Add comment