Search Issue Tracker
Fixed
Fixed in 2022.3.60f1
Votes
0
Found in
2022.3.48f1
Issue ID
UUM-83345
Regression
Yes
[UIElement - List] ArgumentOutOfRangeException is thrown when entering the PlayMode
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/OctopathLHDv1.unity” Scene
3. Select all 8 “CarStackParent” GameObjects in the Hierarchy window (selecting 2 or more causes the error)
4. Change the "Spawn Offset" value to 0.7 in the Inspector window
5. In the Game view tab select “Play Focused“ or “Play Unfocused”
6. Enter the Play Mode
7. Observe the Console window
Expected result: No errors are thrown
Actual result: “ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.” error is thrown
Reproducible with: 2022.2.19f1, 2022.3.48f1, 2023.2.0a17
Not reproducible with: 2021.3.44f1, 2022.2.18f1, 6000.0.22f1
Fixed in: 2023.2.0a18
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: Not reproducible when “Play Maximized“ is selected
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (fix version 2022.3.60f1):
Fixed an ArgumentOutOfRangeException thrown when entering PlayMode with the selection containing multiple objects with array/list fields.