Skip to main content
Shruggger
New Participant
April 28, 2021
Solved

How do I set the FPS limit on my Oculus Quest 2 unity application?

  • April 28, 2021
  • 1 reply
  • 5422 views

My unity project is running super well on Quest 2 at 72hz. I believe the game can run at 90hz but I have no clue where I can set the FPS limit/lock. Where / how do I set this FPS lock for my game?

Best answer by

First call this to get an array of available frame rates and make sure "90" is in the array:

OVRPlugin.systemDisplayFrequenciesAvailable
Then you can set the frame rate using this property: 
OVRPlugin.systemDisplayFrequency
You can also subscribe to this event. It will get called when the framerate successfully changes,
or if there's an issue and Oculus resets the frame rate to 72.
OVRManager.DisplayRefreshRateChanged

 

1 reply

Answer
April 28, 2021

First call this to get an array of available frame rates and make sure "90" is in the array:

OVRPlugin.systemDisplayFrequenciesAvailable
Then you can set the frame rate using this property: 
OVRPlugin.systemDisplayFrequency
You can also subscribe to this event. It will get called when the framerate successfully changes,
or if there's an issue and Oculus resets the frame rate to 72.
OVRManager.DisplayRefreshRateChanged