Search Unity

Resolved Has anyone been able to activate 120 fps on quest 2? Thanks for helping me.

Discussion in 'VR' started by unity_XrCNlbd49TZDpw, May 5, 2021.

  1. unity_XrCNlbd49TZDpw

    unity_XrCNlbd49TZDpw

    Joined:
    Mar 11, 2021
    Posts:
    3
    Hi, so i have an environnement for which i was able to activate 90 fps using this:

    Code (CSharp):
    1.  
    2. void Start()
    3. {
    4. float[] rates;
    5. Unity.XR.Oculus.Performance.TryGetAvailableDisplayRefreshRates(out rates);
    6. Unity.XR.Oculus.Performance.TrySetDisplayRefreshRate(90);
    7. float rate;
    8. Unity.XR.Oculus.Performance.TryGetDisplayRefreshRate(out rate);
    9. }
    But this don't work with "Unity.XR.Oculus.Performance.TrySetDisplayRefreshRate(120);"

    I also tried:

    Code (CSharp):
    1.  
    2. OVRManager.display.displayFrequency = 120.0f;
    3. OVRPlugin.systemDisplayFrequency = 120.0f;
    4.  
    Both don't work.

    Thank you for any reply.
     
  2. unity_XrCNlbd49TZDpw

    unity_XrCNlbd49TZDpw

    Joined:
    Mar 11, 2021
    Posts:
    3
    Ok, case solved. I needed to enable 120hz in the quest 2 experimental settings. I feel stupid but it made me laugh when I figured this out.
     
    aducceschi likes this.