Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.

Discussion in '2023.2 Beta' started by Slashbot64, Jun 9, 2023.

  1. Slashbot64

    Slashbot64

    Joined:
    Jun 15, 2020
    Posts:
    342
    Code (CSharp):
    1. GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    2. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

    ...such helpful information.. here we are 2023, could this kind of console log be more useful? third party assets basically required for Unity to make it useful... how does one find this culprits when this is the kind of error logging we get?
     
  2. TomateSalat

    TomateSalat

    Joined:
    Apr 13, 2018
    Posts:
    16
    Can totally understand you. Specially because it seems like that this issue can actually crash OBS. Yet I haven't found another solution than try-error with plugins.

    I have the feeling that Rainbox-Folders and Flow-/NodeCanvas could be problematic. But can't tell for sure and may its just false positive.

    As you already said: the log is useless and just frustrating. Even with the profiler I'm not able to track the issue down.
     
  3. TomateSalat

    TomateSalat

    Joined:
    Apr 13, 2018
    Posts:
    16
    Will know give DX12 as it seems to be a working workaround for LightYarn. How to switch he has described here: https://forum.unity.com/threads/editor-keeps-crashing-constantly.1420121/page-2#post-9084829

    EDIT: Unfortunately didn't solved it for me. Also tried Opengl3 and Vulkan. Still getting that error -.-. This is really disappointing and this is not a minor thing because once Unity dies to it it takes the GPU with it! So I now have installed UE und Godot. If this issue isn't getting resolved fast (or we at least get tools at hand to figure out whats wrong with our projects) then I unfortunately have to switch engine.
     
    Last edited: Jun 21, 2023
  4. SFvdB

    SFvdB

    Joined:
    Mar 10, 2014
    Posts:
    28
    I'm getting this error too, however it also comes with a location that makes no sense to me:
    Code (CSharp):
    1. Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    2. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:190)
    I'm on Mac, working on 2022.3.13f1 <Metal> and I've had this error in previous versions. Is there a dependency playing up? Clicking the location doesn't seem to work...
     
  5. Slashbot64

    Slashbot64

    Joined:
    Jun 15, 2020
    Posts:
    342
    I'd report it on a newer unity version .. they will never see this