- Home /
Target Frame Rate Not Working
Hi.
I'm trying to clamp my frame rate down so it's more consistent. I'm using Application.targetFrameRate to do this. The problem is, the frame rate is always proportionately above what I set my target as. For example, if I set it at 37, it hovers between 50 and 57. But at 20, it hovers at around 24.
Why isn't it just clamping to that number. I mean, not exactly at that number, but within one of the target.
P.S. I'm making at Web Player game, and I turned off V Sync.
Answer by Eric5h5 · Aug 31, 2013 at 03:00 AM
I think with most webplayers, vsync being on isn't a choice, and those numbers do rather look like the result of vsync being on.
Hmm. In my script, I said:
QualitySettings.vSyncCount = 0;
Does that turn it off? How should I get it to turn off?
As I mentioned, you can't. Try with a stand-alone rather than a web player.
Ah, ok. So with the web player, I will always have this problem. Got it!
Your answer
Follow this Question
Related Questions
Target frame rate between scenes 1 Answer
targetframerate is being ignored 1 Answer
WaitForTarget FPS - VSync 1 Answer
Muzzle Flash Works In Editor - But Not Build?? 2 Answers
Very Low Frame Rate 2 Answers