- Home /
Profiler says that game is running at 10ms(100FPS) but on mobile runs at 45FPS.
So im debugging on mobile my game, but it's running at 40-50 FPS and not 60 FPS. I have an FPS counter in my game and it's definitely not working at 60 FPS.
However the profiler seems to be pointing out that the game is capable to do so.
And yes, im using the Application.targetFrameRate = 60;
It's not a huge game so im trying to keep it smoothly.
Am I doing something wrong?
Device info:
Huawei P Smart
Android 8
Unity 2019.1.0f2
Answer by pablo_leban · Apr 27, 2019 at 08:07 PM
I finally fixed the issue. My device was using a FHD+ (2160 x 1080) resolution, which is 2K. Changing that to HD+ (1440 x 720px) did the trick.
Answer by JDelekto · Apr 27, 2019 at 09:15 AM
Are you sure that your mobile device isn't deliberately throttling performance? I've seen the default for mobile at 30fps specifically for the purposes of conserving battery power. I wouldn't be surprised if you're still being limited by your device's OS even though you're asking for a larger demand.
Every battery optimizing option is disabled and I tried it with another phones and im getting the exact same result.
If the device is throttling for thermal reasons, you may not have control over that --and I'll suffer the drop in fps if it means my CPU won't melt down. :)
Im going to try it in a Galaxy S9, which is a powerfull device just to check if the problem is my device then.
Your answer
Follow this Question
Related Questions
Gravely need some optimization tips 3 Answers
Problem with constant Unaccounted fps reducer. 1 Answer
android game slower on pc than on mobile 3 Answers
Mobile FPS Help 0 Answers
Android debugging with Profiler - Input system is too expensive 1 Answer