- Home /
Windows build has fixed 30fps
I am developing a windows standalone game. If I run it in the editor, the stats gui tells me it runs at about 400fps. Additionally I implemented my own counter with: Code (CSharp):
Debug.LogError(1.0f / Time.deltaTime);
The results are mostly comparable between my counter and the stats card.
If I build my game and execute it from its build directory, it prints me always 30fps. I built it in developer mode to have the console active in the build. It is not just a matter of fixed frame rate, my game isn't functioning properly outside the editor, as it relies on quick calls of the update() function.
I researched this problem and did serveral things to solve it, however none worked. 1. I went into ProjectSettings -> Quality and deactivated vSync for every Quality tier 2. I added Code (CSharp):
QualitySettings.vSyncCount = 0;
Application.targetFrameRate = -1;
in the void Start() of a gameobject
I went into my nvidia settings -> 3d settings and turned off vSync.
I am running on a core i7 and a gtx 770. How to get rid of this fps limitation?
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Build Crashes in Windows 8 but not in Windows 10 1 Answer
I making a game for windows 8 1 Answer
Unity 2019.3.14 not building to windows platform 3 Answers
Models appear in Mac build but not in Windows built 0 Answers