Problem with Android Framerate Dropping

HI I am developing a game called Luminous for Android. From the second I released the game to the play store the game has been suffering some major framerate issues. I can’t seem to find he source of the lag. I have tried disabling most of my code to see if it was some code optimization problem, I disabled audio, I got rid of the dynamic backgrounds and I have also tried to compress and preload all of my assets. Nothing!

The weird thing is, the game will run fine at about 20-30 frames a second until the app runs for longer than 2 minutes. Then all of the sudden, 5-10 frames a second. The device will even lag a little after the app closes. I have done some control tests to see if this was just a hardware issue but this happens on ALL devices it seems. Please help, this issue is causing so many to uninstall my game.

I am willing to offer samples of my assets and settings if you want to try to help, thanks in advance.

There are tools available to help you diagnose these issues. I would start with the Unity Profiler. You can profile your game running on the target device. This should give you a basic idea of what’s going on and what is causing the slowdown.

In other cases, where the profiler does not find the cause for performance issues, you can use vendor specific or native Android profiling tools to better understand performance problems with your game / app.

What you are describing is overheating. Most of the modern Snapdragon devices lowers CPU or GPU clock after reaching a certain value. Are you doing too much physics in your game? Do you have lot of light calculations? All of these and more will force CPU and GPU to generate excessive heat.