Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

Windows build has fixed 30fps

$
0
0
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 3. 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?

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>