Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
etherlord's avatar
etherlord
Explorer
9 years ago
Solved

Fps bouncing from 90 to 45 discretly

Hello everyone! i need some help. Fps in my game in UE4 when i use VR preview - jumps from 90 to 45 and back discretely. Like something lock fps :( who faced something like this? 
  • FocusVRGames's avatar
    9 years ago
    I'm on Unity, but expect the same will apply. I struggled with the same thing for a while. From what I can tell this is due to VSync forced on through the SDK. It will lock the FPS to 90, if you get less that 90 fps it drops to 45 fps.

    If you are constantly jumping between FPS I would suggest you have something in your game that is causing you to drop below 90 FPS.

    To combat this I created a script to report the FPS to a canvas attached to my camera so it told me to FPS for where I was looking on the game. Turning on and off objects will often lead to finding the offending object(s). I got the the point of check lights, particles and shadows first as these were often the biggest offenders.

    Hope that helps a ltitle
    Mike
  • etherlord's avatar
    9 years ago
    But i`m not Unity.... i`m UE :(
    Thank you guys. All of you are right.
     Seems before my Oculus drivers/UE 4.14.0 working wrong and not use Oculus Vsync.

    But trouble comes from r.ScreenPercentage command. seems it set more than 100% by default. After set in to 100 - i have 90 fps anywhere.