Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by Ilaiya · Oct 10, 2015 at 05:26 PM · optimizationcachememory managementmobileoptimizationunity android

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?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hexagonius · Oct 10, 2015 at 06:14 PM 0
Share

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

avatar image farhan3d · Feb 17, 2016 at 03:17 AM 0
Share

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.

avatar image eits · Jan 26, 2018 at 12:52 PM 0
Share

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?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

33 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges