Skip to content

Gizmo dissapears #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
t-mat opened this issue Feb 25, 2017 · 9 comments
Open

Gizmo dissapears #2

t-mat opened this issue Feb 25, 2017 · 9 comments

Comments

@t-mat
Copy link
Owner

t-mat commented Feb 25, 2017

Unity5.5.1p4でUnitySceneViewFovControlをインストールすると、シーンビュー中でカメラ等のギズモが使えなくなる(表示されなくなる)のは仕様でしょうか?可能なら使えたほうがいいですね。

@t-mat
Copy link
Owner Author

t-mat commented Feb 27, 2017

SceneViewHiddenApiExtension.PopGUIClips and PushGUIClips cause this issue.

todo : Investigate an actual reason.

@jean-moreno
Copy link

jean-moreno commented Apr 11, 2017

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:
sceneviewfovissue
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

@jean-moreno
Copy link

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!

@t-mat
Copy link
Owner Author

t-mat commented Apr 11, 2017

Thanks for the info and taking your time!
I'll check your code.

t-mat pushed a commit that referenced this issue Apr 12, 2017
Thanks for @jean-moreno who provided the information.
@t-mat
Copy link
Owner Author

t-mat commented Apr 12, 2017

@jean-moreno I've updated release binary. I keep opening this issue for now, but I'll close when it passes some tests.

@t-mat
Copy link
Owner Author

t-mat commented Apr 29, 2017

0.1.8 contains this patch.

@bitinn
Copy link

bitinn commented Sep 12, 2017

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.

screen shot 2017-09-12 at 20 22 30

@code-beans
Copy link

Same issue here as @bitinn mentioned. Using 2017.1.1f1 Personal 64bit Editor
2017-10-18 14_15_14-unity 2017 1 1f1 personal 64bit

Any update on this?

@code-beans
Copy link

@bitinn Falling back on v0.1.8 (experimental) and having 2d mode disabled solved the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants