- Home /
Question about FrameRate.
Well, recently I have been working on a game. It's a android game and it was success. I built it on my smart phone and it's always been running on 60 FPS.
Until last week I added a blob shadow projector in my game, and I built it, it just turned to 30 FPS suddenly. Then I removed the projector, And it never turned back to 60 FPS. Smooth though, but I think 60 FPS is better for a game.
It looks like that the game has locked the Frame Rate to 30 FPS, because when I load an empty scene with just 2 GUI texts. it still appears as 30 Fps.
Weird...Really gotta no idea, so here I am asking for help. Thank ya very much, guys!
Add some more information. The game works fine on PC, I mean, in the editor. It is 60 FPS, but on android it will turn to 30. I have used the Application.targetFrameRate, but...it seems workless...
@seth-bergman this method does limit the framerate. But you cannot gain framerate that way.
@$$anonymous$$ryptos I disagree. Once you have changed the target frame rate, it STAYS changed.. maybe it got changed somehow, from -1 to 30 (unlikely, maybe, but the question implied something like this)
Thanks, but the problem remains... The game works fine on PC, I mean, in the editor. It is 60 FPS, but on android it will turn to 30. and I have used the Application.targetFrameRate, but...it seems workless...
It was definitely a longshot.. But you might try opening an empty scene in a NEW project, see if it's project-related
Answer by ScroodgeM · Jul 28, 2012 at 03:27 PM
edit - project settings - quality - vsync count
look this option
also, which hardware framereate on your smartphone used? AFAIK 30 fps, not 60. so your application rather synced to hardware FPS
Thx, tried but not functional. $$anonymous$$y phone used to run on 60fps, so I don't think it's my phone related. Still working on it.
check profiller. how much CPU and GPU time does main thread takes and is it 'wait for vsync' time?
also, what FPS do you see with VSync turned off?
Your answer
![](https://koobas.hobune.stream/wayback/20220613074802im_/https://answers.unity.com/themes/thub/images/avi.jpg)