Search Issue Tracker
Fixed
Votes
0
Found in
2022.3.59f1
6000.0.41f1
6000.1.0b9
6000.2.0a6
6000.3.0a1
Issue ID
UUM-99181
Regression
No
Error "IndexOutOfRangeException: Index was outside the bounds of the array" logged when selecting an Element in UI Builder with a specific setup
Steps to reproduce:
- Import attached Unity Package to any Project
- Open the "Main Menu Ui.uxml" Asset
- Select the first VisualElement in the Hierarchy
Actual results: Error "IndexOutOfRangeException: Index was outside the bounds of the array.
Unity.UI.Builder.StyleValueHandleExtensions.GetAsset (UnityEngine.UIElements.StyleSheet styleSheet, UnityEngine.UIElements.StyleValueHandle" is logged
Expected results: No errors are logged
Reproducible with versions: 2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Tested on (OS): Windows 11
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-109157