- Home /
Bad performance on Android
Hi everyone, I am having horrible performance for my game on Android.
I have done everything possible to reduce the draw calls and improve performance. I stripped my game down to the bare minimum, even removing the background, GUI buttons and audio to see if it would improve the performance, but nothing will get the performance above 20-30 fps. Not only that, but the game is using about 90MB of RAM, which compares with/is higher than massive mobile games like Brave Frontier & Monster Squad.
Here are some stats about my game: 12 Levels + Main Menu & Level Selector
The average scene has approximately: 15-20 draw calls 1.5k-2k vertices
On my computer using the profiler I'm getting approximately 2.5k-3k fps. Camera Rendering and GUI.Repaint use the most resources, with 40%-50% from Camera Rendering and 10% from GUI.Repaint.
I just can't figure out what the problem is, I've tried everything with minimal results- the performance has improved a small bit after stripping the game down to the bare minimum but is still only 25-30 fps with massive memory being taken from the mobile in order to run the game.
What does the profiler show when you run the game on the android? What format are all the textures/sprites in on the device?
It turned out to be the format of the textures. Thanks for your suggestion.
Remember that in some devices PVRTC is not supported, if you make a build with debugger option , you will see warning messages PVRTC not supported uncompresing. So textures will be uncompressed to RGBA and the app will use much more memory. For instance once I have a game with a lot of spritesheets, on devices with PVRTC it was running on 90$$anonymous$$B and on the one that doesnt it was going up to 250$$anonymous$$B.
Your answer
Follow this Question
Related Questions
Unity to android (game very laggy) 1 Answer
Android Tablet vs iOS iPad performance difference 0 Answers
Unity UI Slowing Down Android Phone 0 Answers
Spikes with Physics.Simulate() in empty scene? 0 Answers
Mobile performance tips 3 Answers