unity3d-opencog-game icon indicating copy to clipboard operation
unity3d-opencog-game copied to clipboard

[Bug] GUI Error: You are pushing more clips than you are popping

Open Spydrouge opened this issue 11 years ago • 0 comments

Though I am not exactly sure what causes it, leaving the console window open long enough results in a GUIError: you are pushing more GUIClips than you are popping. Make sure they are balanced. Typically speaking, this only ever occurs if one is adding things like BeginHorizontal without a corresponding EndHorizontal. The place it's freaking out is inside the console window; and often after other strange bugs crop up (so it is difficult to say if the symptom would disappear with other fixes). I've taken a look at it many times and see nothing that could be responsible for this behavior.

Simultaneously, console entries disappear, the field for entering new console entries dissappears, and loc(_consoleEntries) randomly throws a ArgumentNullException

November 20th: Right now this is manifesting as a totally different error:

!dest.m_MultiFrameGUIState.m_NamedKeyControlList

With no context. In the log it at least prints ('Filename: C:/BuildAgent/work/d63dfc6385190b60/Runtime/IMGUI/GUIState.cpp Line: 468' This should be a good indicator that it's actually breaking sort of randomly after the fact, and that the actual logic error is broken in our code elsewhere.

Error messages I saw earlier seemed to feel it was related to the HUD, not the console. Again a good sign things are breaking sort of randomly; racing to be the straw that broke the camel's back first.

How to reproduce Launch game. Play till heart's content. Tab out of the game or hit esc and open a new window. Tab back. Danger Will Robinson, we have the error! I am going to bet money it is buried somewhere in our partially completed editor extensions for Unity3 that we have lying around. As for WHAT it is? I'm afraid I don't know.

Spydrouge avatar Nov 12 '14 08:11 Spydrouge