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
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
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
- Video does not play in macOS build when built app is placed in a path with a space in it on a specific project
 - Crash on AuxWindowManager::OnGotFocus when trying to maximize a tab while Visual Effect Graph window is open
 - “NullReferenceException: Object reference not set to an instance of an object” error is thrown when
 - [Metal] Game freezes after command buffer Timeout error
 - Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a1