Search Issue Tracker
Duplicate
Votes
0
Found in
2019.3.0a3
Issue ID
1156750
Regression
Yes
InvalidOperationException: Stack empty - When double clicking on an object in hierarchy
Every time i double-click on an object in the scene hierarchy so that i can zoom in on it, the editor throws an exception in the console.
Does not seem to affect the functionality, though.
To reproduce:
- download this project
- open the Sample scene
- pick a cube and double click on it
- notice the error:
InvalidOperationException: Stack empty.
System.Collections.Stack.Peek () (at <23c160f925be47d7a4fd083a3a62c920>:0)
UnityEngine.GUI.EndScrollView (System.Boolean handleScrollWheel) (at C:/buildslave/unity/build/Modules/IMGUI/GUI.cs:1518)
UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (UnityEngine.Rect rect, System.Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:606)
Cannot reproduce in 2019.3.0a2, 2019.2.0b4
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1154285