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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment