- Home /
The question is answered, right answer was accepted
Very slow game startup on android.
My android game startup takes something between 1 minute 50 seconds - 2 minutes 40 seconds (!!!) at different devices. The game is just a simple space shooter with player model and a few enemy sheep models. Size of the game: 85 mb.
What I tried:
I thought that the problem was at Audio Import Settings / Load type, but when I change load type from "decompress on load" to "stream" than changes nothing. Game starting still slow.
"Optimize Mesh Data" at build settings doesn't help.
"Mesh compression" set to "High" doesn't help.
"Preload Audio Data" untick doesn't help.
Answer by Alexei_UA · Mar 20, 2017 at 09:49 AM
The problem was solved. I use the book Learning Unity Android Game Development (Chapter 9: Optimization) and this article: Performance tips for Unity 2d mobile
Now size of my game is just 35 mb and start time is only about 7 seconds!
Were you able to pinpoint what exactly was making your game have a long startup? Or did you just do everything that was in that article?
Okay never$$anonymous$$d, after going through the article and trying about half the stuff they suggested, I got my startup time and file size down a lot too! Since I did a bunch of the optimization at once as well so I'm not sure what exactly fixed it. If you are having trouble defiantly just try to do as many things as that article suggests!
I'm REALLY lucky to have found this article.
I solved a number of really large performance issues that I'd been overlooking for over 12 months using this article.
I found this link because I was trying to figure out how to fix a really obvious problem that my in-game-music was causing massive, unacceptable performance issues. Straight away with the article, I not only solved the music performance issues but also many other non-audio issues that I had previously spent weeks attempting to fix and days attempting to research.
The article also mentions really useful, basic topics that aren't "common knowledge" on the internet but really are very fundamental things you need to know. VERY grateful that you came back and shared this article
I'm REALLY lucky to have found this article.
I solved a number of really large performance issues that I'd been overlooking for over 12 months using this article.
I found this link because I was trying to figure out how to fix a really obvious problem that my in-game-music was causing massive, unacceptable performance issues. Straight away with the article, I not only solved the music performance issues but also many other non-audio issues that I had previously spent weeks attempting to fix and days attempting to research.
The article also mentions really useful, basic topics that aren't "common knowledge" on the internet but really are very fundamental things you need to know. VERY grateful that you came back and shared this article!
Follow this Question
Related Questions
A lot of time taken by AttributeHelperEngine.GetDefaultExecutionOrderFor() at Android app startup 0 Answers
Best way to do touch in with Unity2D? 0 Answers
Why do textures take double memory on iOS and Android devices? 1 Answer
How do you scale back GPU load on Android? 1 Answer
Is there a more efficient way to write a "Find" script? 2 Answers