Low FPS In Editor, High in Build

https://imagebin.ca/v/330dKfSARVL0

If you look at my screenshot, you can see in my profiler and stats that my FPS is high, but the vr fpr canvas is displaying 47 FPS. And when I actually put my headset on, it is DEFINITELY this low. However, when I build a standalone version, the fps in game counter displays 90 and it looks smooth.

I have nothing but a box room, but it doesn’t make sense that my FPS is high in my stats/profiler and is so low in the editor.

50% of my profiler cpu time is being taken up by “VR.CheckForDevice”, and 38% for “Camera.Render”. Any ideas? Thanks.

I am also getting high profiler times for VR.CheckForDevice since the latest editor build.

Closing ProBuilder window fixed it for me.

3 Likes

Also having this performance hit. I’m not using pro-builder so its not that. The lag is making testing a nightmare.

Choose “Maximize on Play”, or at least hide the Scene view, that will help quite a bit - Unity is really slow rendering the Scene View along with the Game view along with all the menus along with the two eyes for VR.

4 Likes

Bumpity bump. I’d really like those 4ms back please.

Turn off scene lighting and image effects in Scene view.

1 Like

…and that’s why the game is spending 4ms checking for a VR Device every frame?

2 Likes

For me it was caused by GSYNC being enabled on windowed mode. I want GSYNC enabled on windowed mode because I play some games on windowed mode. To solve this problem I followed these steps for Unity.exe, which turns of GSYNC for Unity specifically:

Open the NVIDIA Control Panel
Go to the “Manage 3D Settings” Menu.
Select the “Program Settings” tab.
Select the game you want to turn off G-SYNC for, locate the “Monitor Technology” toggle, pick the “Fixed Refresh” option, and hit the “Apply” button.

1 Like