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

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.