Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.2.X, 2019.3.X
Votes
0
Found in
2019.3.0b1
Issue ID
1179878
Regression
No
[UI Element Debugger] InvalidOperationException: Stack empty error is thrown on changing Windows panel visibility mode to Hidden
InvalidOperationException: Stack empty error is thrown on changing Windows panel visibility mode to Hidden.
Steps to repro:
1. Create a new project.
2. Windows > Analysis> UIElement Debugger.
3. Select ProjectBrowser window from Select Panel dropdown.
4. Select VisualElement > Click on Show All > Change Visibility Mode to Hidden.
Actual Result:
InvalidOperationException error is thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.1.0a2, 2019.3.0b1, 2019.3.0a1, 2019.2.0f1.
Environment:
Windows & Mac 10.14.
Stack trace:
InvalidOperationException: Stack empty.
System.Collections.Generic.Stack`1[T].ThrowForEmptyStack () (at <639bbb26ab3943999c40ae26105f428e>:0)
System.Collections.Generic.Stack`1[T].Peek () (at <639bbb26ab3943999c40ae26105f428e>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIR.UIRenderDevice.EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand head, UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.Texture atlas, UnityEngine.Texture gradientSettings, System.Single pixelsPerPoint, System.Exception& immediateException) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIR.UIRenderDevice.DrawChain (UnityEngine.UIElements.UIR.RenderChainCommand head, UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.Texture atlas, UnityEngine.Texture gradientSettings, System.Single pixelsPerPoint, System.Exception& immediateException) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <3dd62d3208914b14a9c3250b5037e105>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <47533d5f70c041debc5c751474c7409d>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment