Unity build locked at 60 fps. Runs at 90 fps in the editor. Why? please. 8)

I have “Application.targetFrameRate = -1;” specified in my Game Manager. And when I run my game it has up to 90 fps in the editor. But if I build the exact same project it is locked at 60fps in the build version. I have even tried changing the -1 to 300 with the same result. Is there something else I am supposed to configure?

Verify you aren’t using vsync. I believe it is somewhere in quality settings. You can use the profiler to monitor a dev build to get a better idea what is going on. In more recent versions of Unity, the Profiler shows waiting for vsync as a separate category.

5 Likes

Thanks! This fixed it immediately. I went from 60fps to 300fps. I appreciate it!

1 Like

This worked for me, thank you so much!!!

1 Like

This worked for me also, thanks :smiley: