Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug: Gizmo Movement controls going invisible suddenly

Discussion in '2021.2 Beta' started by hcorion, Jul 25, 2021.

  1. hcorion

    hcorion

    Joined:
    Dec 18, 2013
    Posts:
    11
    Just booted Unity, this was looking fine yesterday, and then I booted today and the gizmo arrows and lines weren't showing up.
    Video here: https://imgur.com/a/RqAF89c
    After pressing F to zoom in on one of the objects in the scene, the gizmo arrows came back fine.
    This is on a regular 1080p screen on Unity 2021.2.0b4.3123
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,143
    Hi @hcorion,

    If the issue occurs again or if you're able to reproduce it, it would be much appreciated if you could submit a bug report with reproduction steps and a reproduction project attached.
     
  3. mahdi_jeddi

    mahdi_jeddi

    Joined:
    Jul 18, 2016
    Posts:
    248
    I had this issue very rarely. I think this is because of the gizmos going out of the scene camera's far plane. Hitting F to frame the object fixes this for me. I guess Unity should always render the gizmos inside the camera's view independent of where the far plane ends.
     
  4. mahdi_jeddi

    mahdi_jeddi

    Joined:
    Jul 18, 2016
    Posts:
    248
    I can reproduce this. I made a bug report. Case 1353387.

    Screenshot_1.png
     
    LeonhardP and Baste like this.
  5. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,371
    The scene view camera's near plane has a tendency to drift. I've never figured out what the trigger is, but it's been that way since Unity 4. It probably doesn't happen if you press F a lot in your workflow since that's what fixes it, but if the workflow is mostly to navigate using the mouse, the near plane will start to drift further and further away after a while of level building.

    We've noticed more issues where gizmos and handles just disappear or behave poorly due to this in 2020.2, so it might be that a change to the gizmo handling that's more aggressive about culling (or even culls at all, handles didn't use to do that properly in some instances) makes this bug more obvious.
     
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,143
    mahdi_jeddi likes this.