Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UI Jitter

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

  1. tgaldi

    tgaldi

    Joined:
    Oct 28, 2015
    Posts:
    102
    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:
    102
    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