What exactly this error is trying to inform me about?

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced (type: Layout)

It seems like a harmless error but it's just kinda weired and I'm curious to know whats goin on? thanks,

1 Answer

1

You have more GUI.BeginXs than GUI.EndXs.

E.g. you may have something like

GUILayout.BeginHorizontal();
GUILayout.BeginVertical();
GUILayout.EndVertical();

Which throws the error because there's no matching GUILayout.EndHorizontal();

Lots of results when pasting the error in quotes into Google, hint hint. :)

Yea, I forgot to close the group, thanks