Search Issue Tracker
Fixed
Fixed in 6000.0.51f1, 6000.1.7f1, 6000.2.0b5, 6000.3.0a1, 7000.0.0a35
Votes
0
Found in
6000.0.48f1
6000.1.2f1
6000.2.0a10
6000.3.0a1
Issue ID
UUM-104622
Regression
Yes
[Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
Steps to reproduce:
- Open the attached project
- Select Main Camera or Directional Light in the Hierarchy
- Press the CTRL+Shift+A shortcut to open Add Component window
- Observe the Console
Actual results: GUI Rendering errors are thrown
Expected results: No errors are thrown after the shortcut is used
Reproducible with versions: 6000.0.13f1, 6000.0.48f1, 6000.1.2f1, 6000.2.0a10
Not reproducible with versions: 2022.3.61f1, 6000.0.12f1
Reproducible on (OS): Ubuntu 24.04
Not reproducible on (OS): macOS 15.4.1
Notes:
- Errors are not thrown when the Add Component window is opened using the Editor button in the Inspector window
Error messages:
{quote} * GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
- InvalidOperationException: Stack empty.
System.Collections.Generic.Stack`1[T].Peek () (at <467dcef8ceb84c1e92dc7c69d21858a8>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRenderer/UIRenderers.cs:168)
UnityEngine.UIElements.UIR.UIRenderDevice.EvaluateChain (UnityEngine.UIElements.UIR.RenderChainCommand head, UnityEngine.Material initialMat, UnityEngine.Material defaultMat, UnityEngine.Texture gradientSettings, UnityEngine.Texture shaderInfo, System.Single pixelsPerPoint, System.Exception& immediateException) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRenderer/UIRenderDevice.cs:1019)
UnityEngine.UIElements.UIR.RenderChain.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRRenderChain.cs:541)
UnityEngine.UIElements.UIRRepaintUpdater.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRRepaintUpdater.cs:124)
UnityEngine.UIElements.BaseVisualElementPanel.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:719)
UnityEngine.UIElements.Panel.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1378)
UnityEditor.UIElements.EditorPanel.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElementsEditor/EditorPanel.cs:97)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:484)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:232)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:76)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:30)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
- Assertion failed on expression: 'srcAttach < m_CurrentFramebuffer.colorCount && "We should always resolve only current RT"'{quote}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "You may not pass null objects" and "Maximized serialized file backup not found" errors are thrown when maximizing and minimizing docked Multiplayer Play Mode window after Multiplayer Play Mode package is uninstalled
- Light Explorer 2D Lights search bar does not display text when typed into
- Project window navigation resets to the Assets root folder when clicking the "Add Sorting Layer"
- Editor sometimes hangs and loads infinitely when changing values in UI Builder fields by dragging them
- Crash on SavePrefabAsset when selecting a specific Prefab
Add comment