The game slows down after playing 2 or 3 times in an Android. Can anyone help me understand why is that?
I am new to Unity, so help me understand this. My game (Android Build) works just fine when I play it the first time. After I get out, I replay the game from the beginning. After I repeat this 2 to 3 times, the game slows down considerably. The FPS drops down significantly. But If I play the game after I "force close" it, it runs smoothly again.
I am guessing that may be every time, I restart the game, the old cache files are getting added up in the memory and not getting refreshed when I restart the level. So am I right about this?
If I am, how to solve this? How to clear the memory so that it doesn't get bloated up with unused files of my game? And If I am not, could you please help me understand what is the possible explanation of this behavior?
that could be a bunch of things. run the game and observe the profiler. see what costs the performance. Lagging is usually not memory but CPU or GPU
Just curious whether you were able to solve your problem or not. I have exactly the same problem and am trying to figure it out without the profile (free version). Please do share your findings! Thanks.
I have the same problem. I reload the same level for each new game and on the third reload its half the fps of the first game. Did you find a solution for this problem?
Your answer
Follow this Question
Related Questions
Unloading unused textures in Unity 0 Answers
Rendering optimization tips 0 Answers
Opengl ES2 devices can not launch my game 0 Answers
OPEN WORLD GAME QUESTION 2 Answers
Mobile Build laggy? 0 Answers