Skip to content

Gizmo dissapears #2

Open
Open

Description

@t-mat

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

Activity

  1. t-mat commented on Feb 27, 2017

    @t-mat
    OwnerAuthor

    SceneViewHiddenApiExtension.PopGUIClips and PushGUIClips cause this issue.

    todo : Investigate an actual reason.

  2. jean-moreno commented on Apr 11, 2017

    @jean-moreno

    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

  3. jean-moreno commented on Apr 11, 2017

    @jean-moreno

    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!

  4. t-mat commented on Apr 11, 2017

    @t-mat
    OwnerAuthor

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

  5. added a commit that references this issue on Apr 12, 2017
  6. t-mat commented on Apr 12, 2017

    @t-mat
    OwnerAuthor

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

  7. t-mat commented on Apr 29, 2017

    @t-mat
    OwnerAuthor

    0.1.8 contains this patch.

  8. bitinn commented on Sep 12, 2017

    @bitinn

    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

  9. code-beans commented on Oct 18, 2017

    @code-beans

    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?

  10. code-beans commented on Oct 18, 2017

    @code-beans

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions