Forum Discussion
dharmik.6058
5 months agoHonored Guest
FPS not getting more then 30
How can we increase fps of oculus quest.
We are using xr interaction toolkit.
In empty scene with just camera i am getting 55fps max.
But in any project i am getting just 30fps.
I have also done normal urp setting you can go though in photos attached.
I also applied occlusion culling.
2 Replies
Replies have been turned off for this discussion
- vivekrajagopalMHCP Member
dharmik.6058 Hi, How is it going?
Recommending you attach a script like below. I'm not sure if you are doing this already.
This will lock your FPS to 90. Incase if you do this already and you dont get 90, try reducing it to 72 FPS.You can tweak the value of
targetFrameRateparameter in this code.
using UnityEngine; #if UNITY_ANDROID && !UNITY_EDITOR using Unity.XR.Oculus; #endif public class MetaQuestFrameRateSetter : MonoBehaviour { [SerializeField] private int targetFrameRate = 90; void Start() { // Lock Unity's Application frame rate Application.targetFrameRate = targetFrameRate; // Optional: Match vsync count QualitySettings.vSyncCount = 0; // Disable vsync, since we are manually setting FPS #if UNITY_ANDROID && !UNITY_EDITOR // Attempt to set preferred refresh rate (for Meta Quest) try { OVRManager.display.displayFrequency = targetFrameRate; Debug.Log($"[MetaQuest] Target refresh rate set to {targetFrameRate}Hz"); } catch { Debug.LogWarning("[MetaQuest] Failed to set refresh rate. Ensure OVRManager is initialized and the device supports it."); } #endif } }Let me know if this works.
- vivekrajagopalMHCP Member
If you still dont get a good framerate, please share your profiler and memory profiler data with me, will try to figure the best optimization possible.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 30 days ago
- 2 months ago