Search Issue Tracker
Duplicate
Votes
0
Found in
2019.2.0b4
2019.2.0f1
2019.3.0a1
Issue ID
1174406
Regression
Yes
'InvalidOperationException: Stack empty.' exception is thrown when canceling 'Create New Animation' dialog window
How to reproduce:
1. Open attached 'project-1174406.zip' project
2. Select all the sprites in 'Assets' folder
3. Drag the sprites into 'DragHere' gameObject in Hierarchy window
4. Select 'Cancel' in 'Create New Animation' pop-up window
Expected result: no exception is thrown
Actual result: 'InvalidOperationException: Stack empty.' exception is thrown
Reproducible with: 2019.2.0b4, 2019.2.1f1, 2019.3.0a1, 2019.3.0a9
Not reproducible with: 2017.4.31f1, 2018.4.6f1, 2019.1.14f1, 2019.2.0b3, 2019.3.0a10, 2019.3.0a11
Note: the sprites have to be dragged on to a GameObject in Hierarchy window, otherwise the exception is not thrown
Exception:
InvalidOperationException: Stack empty.
System.Collections.Stack.Peek () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
UnityEngine.GUI.EndScrollView (System.Boolean handleScrollWheel) (at C:/buildslave/unity/build/Modules/IMGUI/GUI.cs:1481)
UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (UnityEngine.Rect rect, System.Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:605)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Other threads get resized when trying to resize thread groups on the Timeline of the Profiler window
- Green highlight for selected panel lacks contrast when Editor theme is set to Light
- [Android] AR Camera Background has a white/bright tint when deployed with Gamma Color Space and Vulkan API
- Crash on TextCore::OTL_GPOS_TableReader::GetLookupList when changing to a specific Font in the UI Builder
- Reverting [SerializeReference] List property creates persistent element overrides in Prefab Variants
Add comment