Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

VR headset delay (Regression)

Discussion in '2018.2 Beta' started by AmbOcclusion, May 25, 2018.

  1. AmbOcclusion

    AmbOcclusion

    Joined:
    Sep 17, 2012
    Posts:
    33
    When using a Vive in 2018.2.0b5 and b4 I've noticed that there's a severe delay in moving your head and having the screen react to your movement. I've noticed this in our project where we use TrackedPoseDriver, but using the SteamVR tracked object for the headset does not solve the issue. The only thing that has solved the issue is to use the Camera by itself with no TrackedPoseDriver or SteamVR components attached to it. The problem is incredibly easy to reproduce.

    Steps to reproduce:

    • Open any project, or start a new project using Unity Hub, selecting "3D with extras" or "[XR] VR Lightweight RP"
    • Open the SampleScene
    • Add a Tracked Pose Driver to the camera (important)
    • Turn on VR in Player settings, make sure OpenVR is in the list
    • Hit Play
    • Put on Vive headset and move your head around, notice the delay in the visuals

    To solve temporarily:
    • Exit playmode
    • Remove any Tracked Pose Driver or SteamVR components from your camera
    • Hit play
    • Notice no delay

    This is a straight regression from 2017 and 2018.1 into 2018.2

    Setting "Update Type" to any value does not change the behavior.
     
    Last edited: May 25, 2018
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,620
    Unity staff is probably going to ask you to submit a bug-report, following this document, as they don't use the forum to track bugs. Don't forget to post the bug-report Case number in this thread, so Unity can pick up your report even faster.
     
  3. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    202
    Hi there, I'm not at work today (memorial day). I tried at home with a vive pro and a new LW SRP project in 2018.2b05 and I don't get any noticeable lag.

    please submit a bug report, preferably with video and a repro project and we'll take a look.
     
  4. AmbOcclusion

    AmbOcclusion

    Joined:
    Sep 17, 2012
    Posts:
    33
    Unfortunately video will not show off this issue and is only noticeable inside the headset. Looking at your computer monitor will not show any obvious delay, but having the headset and moving your head around (especially shaking your head quickly) will produce a noticeable delay in the reaction time of the image.
     
  5. AmbOcclusion

    AmbOcclusion

    Joined:
    Sep 17, 2012
    Posts:
    33
    Also I want to make sure I clarify this as a delay, and not lag. The visuals are smooth but the display will show visuals from an earlier time. But I do want to note that with all of the reprojection settings enabled in SteamVR, it totally trips that system out. Turning those settings off has 0 effect on the delay. The issue exists in editor and build with reprojection on or off, doesn't matter.
     
  6. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Could you please submit a bug report with a minimal reproduction project and reply in here with the case #?
     
  7. AmbOcclusion

    AmbOcclusion

    Joined:
    Sep 17, 2012
    Posts:
    33
    Yeah sorry I've had a bug report open and been talking to someone 1042158
     
    LeonhardP likes this.