Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2019.4

2020.3

2021.1

2021.1.15f1

2021.2

2022.1

Issue ID

1351981

Regression

No

ArgumentOutOfRangeException is thrown when right-clicking certain Hierarchy window items during Play Mode exit process

IMGUI

-

Reproduction steps:
1. Open any Unity project (larger projects which take longer to exit Play Mode would reproduce the issue easier)
2. Resize the layout so that Play Mode button is as close to the top of the Hierarchy as possible
3. Enter Play Mode
4. Exit Play Mode and immediately right-click on the Scene header in the Hierarchy
5. Once Play Mode is exited, left click in the Hierarchy
6. See the Console window

Expected result: There are no errors
Actual result: ArgumentOutOfRangeException is thrown

Reproducible with: 2019.4.29f1, 2020.3.15f1, 2021.1.16f1, 2021.2.0b4, 2022.1.0a3

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a10

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.