Search Unity

UI Jitter

Discussion in 'AR/VR (XR) Discussion' started by tgaldi, Oct 28, 2019.

  1. tgaldi

    tgaldi

    Joined:
    Oct 28, 2015
    Posts:
    87
    Hello,

    I'm working with the latest Unity 2019.2.10f1 and the HTC Vive. I have a simple scene with two cameras.

    The main camera is setup for the vive
    TargetDisplay: Display 1
    TargetEye Both

    The second camera is setup for UI on a seperate monitor:
    Target Display: Display 2
    Target Eye: None

    I have a canvas in the scene with a button, canvas as so:
    Render Mode: Screen Space - Overlay
    Target Display: Display 2

    The UI correctly renders using the second camera on display 2, but it seems that the canvas's width/height/scale jitter occasionally.

    I've tried setting the Render Mode for the canvas to camera and linking it the camera directly, and I've also tried having the UI camera be Display 1.

    Has anyone experience this, knows a solution?

    Thanks.
     
  2. tgaldi

    tgaldi

    Joined:
    Oct 28, 2015
    Posts:
    87
    This stopped happening when the second display game tab is in focus. Hopefully not a problem in a build but have not tried yet.
     
    Last edited: Nov 5, 2019
unityunity