Search Issue Tracker

Fixed in 2023.1.X

Votes

2

Found in

2020.3.21f1

2020.3.25f1

2021.2

2022.1

2022.2

Issue ID

1394298

Regression

Yes

[Windows] "InvalidOperationException: Stack empty" when using EditorUtility.OpenFilePanel or EditorUtility.OpenFolderPanel

IMGUI

-

Reproduction steps:
1. Open the attached project "1394298-22.2.a2.zip"
2. Open the "Teste" Scene in the Project window
3. Select "Main Camera" in the Hierarchy window
4. Click "Find Scene" in the Inspector window
5. Select a Scene file or close the pop-up window

Expected result: No exceptions in the Console window
Actual result: An "InvalidOperationException: Stack empty." exception is thrown

Reproducible with: 2020.3.21f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b3, 2022.2.0a2
Not reproducible with: 2019.4.34f1, 2020.3.20f1

  1. Resolution Note (fix version 2023.1):

    Fixed in: 2023.1.0a1

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.