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

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

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

出现此错误,是由于GUIClips中开始与结束的没一一对应上产生的,比如有一个  GUILayout.BeginHorizontal();而后面又没有  GUILayout.EndHorizontal();与之对应 ,就会报以上错误。

原文地址:https://www.cnblogs.com/fm168/p/3092227.html