- Home /
Why Frame per second script always show me 60FPS ?
The Frame Per Second Script on UNIFY COMMUNITY (HUDFPS) always shows me 60 FPS fixed Why its showing me fixed 60 FPS ? Is my game is being fixed by Unity3D at 60FPS or not more than 60FPS
Also why the reading on FPS in STATS is different
Answer by aldonaletto · Sep 21, 2011 at 12:59 PM
The Stats info is based only in the rendering time (how much time each frame is taking to be rendered). The actual frame rate is always lower because there are other periodic jobs being executed by Unity and the CPU.
But it seems that the Windows Unity version always stick to a maximum 60 fps, even if your scene takes one milisecond or less to be rendered. If the scene becomes too complex to render at 60 fps, the frame rate will fall below 60 - but never goes above this level.
Hi Aldo Naletto I am also facing same issue. I have Unity Pro for $$anonymous$$AC version but when i Put off VSync off it reach max 65 and when it's on it goes to max 60. there is any setting in unity to bound frame-rate up to 60 - 65. and default Application.targetFrameRate = -1
Answer by CHPedersen · Sep 21, 2011 at 12:51 PM
This happens because you have VSYNC enabled. Go to:
Edit->Project Settings->Quality
The default quality profile is "Good", so expand "Good", and set "VSYNC Count" to "Don't Sync".
It seems that even with VSYNC off Unity runs at 60 to 65 max fps in PC machines (I tested this in my PC, and several other PC users have reported the same). I suspect some hardware feature made Unity to adopt this limit in PCs - $$anonymous$$ACs seem to not have this limitation.
To un-limit the framerate completely, it's necessary to both disable VSync in the quality settings, and also put Application.targetFrameRate = -1; somewhere in a script.
Hi friends I am also facing same issue. I have Unity Pro for $$anonymous$$AC version but when i Put off VSync off it reach max 65 and when it's on it goes to max 60. there is any setting in unity to bound frame-rate up to 60 - 65. and default Application.targetFrameRate = -1
It's possible for VSYNC to be enabled in two different places - the Unity version listed here, and in whatever control software for your graphics card you have installed. There's a VSYNC toggle in NVIDIA Control Panel under "$$anonymous$$anage 3D Settings", for example. Its default is to let each individual 3D application decide, but you can set it to be always on or off, too. I don't know about Radeon cards.
Answer by hagmt · Feb 04 at 10:47 PM
For anyone as stupid as me facing this issue this might be helpful: I tried everything, and spent 2 hours, but then I realized I'm on the battery, so my laptop was trying to save energy by lowering fps.