This I was able to resolve by changing the next function:
**From:**
public void End () {
EditorGUILayout.EndVertical();
if (visible) {
// Some space that cannot be placed in the GUIStyle unfortunately
GUILayout.Space(4);
EditorGUILayout.EndFadeGroup();
}
EditorGUILayout.EndVertical();
GUIUtilityx.PopTint();
}
**To:**
public void End () {
EditorGUILayout.EndVertical();
if (true) {
// Some space that cannot be placed in the GUIStyle unfortunately
GUILayout.Space(4);
EditorGUILayout.EndFadeGroup();
}
EditorGUILayout.EndVertical();
GUIUtilityx.PopTint();
}
I tried the exact same using 4.2.8 and did NOT have this issue.
The example scene ran fine after re linking the forward animation on the mine_bot.
Also able to Unity version 2019.1.14f1 with A* 4.2.8 worked flawless.
I have this issue in 2021. I use Unity 2020.3.17f1 and A* 4.2.15.
So; “GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.” in console and also some wierd Inspector bugs like not able to press the enable/disable button or an empty Inspector. This is only when i have A* imported in a project.
I did not test other Unity versions since this 3.17f is the latest 2020LTS and this is my project version.
It does work in a clean scene, but i fixed it in my used scenes with the solution from @ToastyStoemp
From:
public void End () {
EditorGUILayout.EndVertical();
if (visible) {
// Some space that cannot be placed in the GUIStyle unfortunately
GUILayout.Space(4);
EditorGUILayout.EndFadeGroup();
}
EditorGUILayout.EndVertical();
GUIUtilityx.PopTint();
}
To:
public void End () {
EditorGUILayout.EndVertical();
if (true) {
// Some space that cannot be placed in the GUIStyle unfortunately
GUILayout.Space(4);
EditorGUILayout.EndFadeGroup();
}
EditorGUILayout.EndVertical();
GUIUtilityx.PopTint();
}