- Home /
Question by
Firedan1176 · Jul 27, 2018 at 12:40 AM ·
unityeditoreditor-scriptingsceneview
SceneView - Modifying Filter throws Error
void OnSceneGUI(SceneView sceneView) {
SceneView.currentDrawingSceneView.SetSceneViewFiltering(isEditing);
}
This throws the error GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Comment
doesn't seem to be documented :/
what if you call that on the sceneView variable passed in through OnSceneGUI