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.
  2. Dismiss Notice

Bug Updating Quest 2 refresh rate causing physics stuttering

Discussion in 'VR' started by LeviathanLevi, Mar 15, 2023.

  1. LeviathanLevi

    LeviathanLevi

    Joined:
    Mar 29, 2022
    Posts:
    4
    Hi community, I'm trying to get my Unity Quest 2 application (standalone) updating the headset refresh rate to the maximum available

    Problem: Updating to any refresh rate higher than the default 72 causes the physics to start stuttering. When I grab an object with a rigidbody and start moving my hand I see it jittering/choppy movement

    What I've tried: OBS shows the in game FPS is meeting the cap 72/90/120, and everything else except physics based movement is buttery smooth. My understanding is that physics has it's own timestep value `Time.fixedDeltaTime`. I tried updating that in my refresh rate code below:



    Additional info:

    My time settings



    Unity Version 2021.3.12f1
    URP

    Any help is much appreciated, thanks
     
  2. fashVR

    fashVR

    Joined:
    Aug 31, 2020
    Posts:
    3
    my guy, please tell me you fixed it.
     
  3. Cloudwalker_

    Cloudwalker_

    Joined:
    Jan 3, 2014
    Posts:
    134
    Why did you multiply by 10? Just needs to be 1 / hmd refresh.