Skip to main content
Up and Coming
January 11, 2015

Unreal Engine 4.7 Preview 2 - VR Preview Framerate

Hi Guys,

I am really loving the "Play > VR Preview" button. Amazing how fast you can pop into your level and back into your editor!

That said, I cannot figure out why this mode is locked at 60 frames per second. When I "Play > Standalone Game" and press alt+enter to get into the DK2, I get a solid 75 frames per second. But, with "Play > VR Preview", it is always 60.

Is there a setting I can toggle somewhere to bump this up?

Thanks!

EDIT: The cause of this problem was related to the editing viewport's default maximum framerate of 60FPS. To fix, you need to open a console by typing "~" (tilda) from within your editing viewport. Then, type this: "t.MaxFPS 200'" and hit <enter>. This will allow all of your viewports to run at a framerate higher than the default 60; including the VR Preview.
    This topic has been closed for replies.

    25 replies

    Up and Coming
    January 12, 2015
    What if you just do 'hmd vsync off'? Still no change in fps?
    Up and Coming
    January 12, 2015
    Huh. It could be. Try the following command: 'set Engine bSmoothFrameRate 0'.
    andrewtekAuthor
    Up and Coming
    January 12, 2015
    "artyom17" wrote:
    What if you just do 'hmd vsync off'? Still no change in fps?

    No change when using "VR Preview".
    andrewtekAuthor
    Up and Coming
    January 12, 2015
    "artyom17" wrote:
    Huh. It could be. Try the following command: 'set Engine bSmoothFrameRate 0'.

    I just did this again. Sadly no difference. Do you know of a way to increase the in-viewport framerate? I am guessing it is locked to my monitor's refresh rate, but I have never needed to increase it. Is your monitor running 60 or 75hz?
    Up and Coming
    January 12, 2015
    "andrewtek" wrote:
    "artyom17" wrote:
    What if you just do 'hmd vsync off'? Still no change in fps?

    No change when using "VR Preview".


    Huh! Unf, set commands do not work in the Editor. Hmm... For me, FPS in the main viewport is 100+ fps. Try the following in the main viewport (after pressing tilde): r.VSync 0 Any changes?
    Up and Coming
    January 12, 2015
    Ah! Found it! This is what limits FPS in the editor (and VR Preview): 't.MaxFPS 60'. Set it to something high, like 200 and forget about it.
    andrewtekAuthor
    Up and Coming
    January 12, 2015
    "artyom17" wrote:
    Ah! Found it! This is what limit FPS: 't.MaxFPS 60'. Set it to something high, like 200 and forget about it.

    That was it! And it fixed my other viewports as well. Thank you!
    andrewtekAuthor
    Up and Coming
    January 12, 2015
    Out of curiosity... Do you know if it is possible to configure this setting on a per-viewport basis? I am not sure the editing viewports need to be at 180+fps... while it is nice for the preview viewports to be unbounded.

    EDIT: For now I will keep it unbounded at 200, but turn realtime off in the editing ports.
    andrewtekAuthor
    Up and Coming
    January 12, 2015
    Again - I have to say thanks artyom17. This enhancement to the Unreal Engine has me trialing changes as I make them. Productivity++.
    Up and Coming
    January 12, 2015
    "andrewtek" wrote:
    Out of curiosity... Do you know if it is possible to configure this setting on a per-viewport basis? I am not sure the editing viewports need to be at 180+fps... while it is nice for the preview viewports to be unbounded.

    EDIT: For now I will keep it unbounded at 200, but turn realtime off in the editing ports.


    Don't know yet. I'll check if it is possible to override this parameter in C++ for VR Preview mode.