Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X

Votes

1

Found in

2021.3.43f1

2022.3.45f1

6000.0.18f1

6000.1.0a7

Issue ID

UUM-79309

Regression

No

ArgumentOutOfRangeException is thrown and Editor hangs when generating geometry with hidden Sprites

--

-

Reproduction steps:
1. Open the attached “bug-report.zip” project
2. From the Project Window select “Character.psb”
3. Click on “Open Sprite Editor” in the Inspector
4. In the Sprite Editor window, switch the dropdown from “Sprite Editor” to “Skinning Editor”
5. Select “Auto Geometry” on the right side menu
6. Click on the “Visibility” button at the top to open the Visibility menu
7. Select “Sprite” and hide any of the Sprites
8. In the Geometry window click “Generate For All Visible” button
9. Observe the Console and the Editor

Expected result: The geometry gets generated
Actual result: “ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.” is thrown and Editor hangs indefinitely

Reproducible with: 2021.3.43f1, 2022.3.45f1, 6000.0.18f1

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Comments (2)

  1. SteeredWrong

    Sep 15, 2024 23:15

    If you're still encountering this issue. It may be because the Geometry settings default Subdivide to 0. Changing it to 1 solved my issue

  2. SteeredWrong

    Sep 15, 2024 22:45

    Even when all sprites are made visible, this still happens for me

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.