Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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,111
    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:
    237
    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:
    237
    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,224
    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,111
    mahdi_jeddi likes this.