UnitySceneViewFovControl
UnitySceneViewFovControl copied to clipboard
Gizmo dissapears
Unity5.5.1p4でUnitySceneViewFovControlをインストールすると、シーンビュー中でカメラ等のギズモが使えなくなる(表示されなくなる)のは仕様でしょうか?可能なら使えたほうがいいですね。
SceneViewHiddenApiExtension.PopGUIClips
and PushGUIClips
cause this issue.
todo : Investigate an actual reason.
We're getting that issue also... I tried to debug it but couldn't solve it.
It looks like when using GUIClip code, it will mess with something else internally:
Here I added a
GUILayout.Button
after the DoToolbarRightSideGUI
call, and depending on the usage of GUIClip.Push/Pop
, the button shows in 2D or 3D. Maybe that can help?
Note: tested in Unity 5.5.0
Update: I added Handles.BeginGUI and Handles.EndGUI to fix the problem:
static void OnSceneGUI(SceneView sceneView) {
Status s = GetOrAddStatus(sceneView);
if(s != null) {
Handles.BeginGUI();
s.OnSceneGUI(sceneView);
Handles.EndGUI();
}
}
It seems to work!
Thanks for the info and taking your time! I'll check your code.
@jean-moreno I've updated release binary. I keep opening this issue for now, but I'll close when it passes some tests.
0.1.8 contains this patch.
Weird, with Unity 2017 (latest stable), I run into the same problem, the gizmo (the FOV button in scene view) doesn't show up for some reason.

Same issue here as @bitinn mentioned. Using 2017.1.1f1 Personal 64bit Editor
Any update on this?
@bitinn Falling back on v0.1.8 (experimental) and having 2d mode
disabled solved the issue for me.