Search Issue Tracker
Fixed
Votes
0
Found in
2021.3.34f1
2022.3.17f1
2023.2.4f1
2023.3.0b1
Issue ID
UUM-59719
Regression
No
“ArgumentOutOfRangeException” error appears when adding a script that has UXML ListView in a custom editor to GameObject
How to reproduce:
1. Open the user’s attached “AnimationPlayerStandalone.zip” project
2. Select any GameObject and add a “Test Script“ Component
3. Observe the Console window
Expected result: No errors
Actual result: “ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection” error appears
Reproducible with: 2021.3.34f1, 2022.3.17f1, 2023.2.4f1, 2023.3.0b1
Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested
Notes:
- not reproducible if enabling “Show Foldout Header” in UI Builder
- if changing Inspector mode to “Debug” and setting the number of elements and changing back to “Normal” Inspector mode, then the number of elements will be one less than the set value
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-55415