Search Issue Tracker
Fixed
Fixed in 2022.3.66f1, 6000.0.55f1, 6000.1.15f1, 6000.2.1f1, 6000.3.0a4
Votes
0
Found in
2022.3.63f1
6000.0.51f1
6000.1.7f1
6000.2.0b1
6000.3.0a1
Issue ID
UUM-109157
Regression
No
UI Builder performing Redo action for creating a nested element throws nvalid UXML or USS: System.IndexOutOfRangeException and corrupts the opened document causing data loss
Steps to reproduce:
- Open the attached project
- Open the Test UI Document
- Add a Button
- Add a VisualElement
- Add a Label nested inside VisualElement
- Undo Label Creation
- Undo VisualElement Creation
- Redo VisualElement Creation
- Redo Label Creation
Actual results: "Invalid UXML or USS: System.IndexOutOfRangeException: Index was outside the bounds of the array" error is thrown. The opened document becomes corrupted, preventing any changes
Expected results: Performing Undo/Redo operations does not result in thrown errors or data loss
Reproducible with versions: 2022.3.63f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Tested on (OS): macOS 15.5
Notes:
- If the Test UI Document is reopened after the reproduction steps, it can be seen that any unsaved changes before the issue occurs are lost - Button from Step 3 is missing
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment