Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
1
Question by Zhinkk · May 24, 2014 at 11:55 PM · lagoverheat

My game overheats phone and terrible FPS?

Hi everyone. I'm developing a game for android (and eventually iOS). This problem I'm describing didn't always happen. It's a recent thing. My game runs around 45FPS on my Galaxy S3 (it's running a 4.4 ROM).

Basically what happens is I'll be playing my game, and everything will be absolutely fine for a while. I can play my game for a while and it will be fine. Then after a while my game will just randomly drop below 20 FPS and stay there (sometimes even less, around 5FPS). I've also noticed that my phone will be very hot when this happens. It will start to overheat. Why does my game do this to my phone? Even when I exit the game my whole phone is very laggy (accessing menus, etc) and I have to pull the battery, let it cool down, and reboot to fix it.

I don't get why this happens, my previous builds didn't do this at all. My phone would get hot, but I could play forever and it wouldn't start lagging. And I didn't add anything significant I don't think (just some GUI's come to mind). Can somebody help me please? I just need to know what's causing this sudden and persistent lag. Here is the APK if anyone will test this for me:

https://www.dropbox.com/s/t7y7164r5l92utl/app.apk

Game is simple. Dodge oncoming obstacles. Tap left side of screen to switch to left wall, right to switch right. If you are testing it I would appreciate it if you kept pressing play again and played my game for around ~5-10 minutes if that's not too much to reproduce the error.

Comment
Add comment · Show 2
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 supernat · May 25, 2014 at 01:15 AM 1
Share

It sounds like a memory leak to me. As the game creates more and more memory, the time required to process the lists or access the data increases. It could also be just a single event. I would run the Xcode Instruments app and watch memory to rule this out.

avatar image JackMac290400 · Jun 01, 2016 at 02:03 PM 0
Share

Was this ever solved? I'm having a similar issue now

1 Reply

· Add your reply
  • Sort: 
avatar image
3

Answer by MakeCodeNow · May 25, 2014 at 01:30 AM

When you fully use a mobile CPU or GPU, it gets warm and then it gets hot. When the temperature reaches a certain level, the hardware automatically decreases the max speed of the hardware until the temperature cools down. This is called thermal throttling, and it's what you are seeing on your phone.

Now, the question is why is it getting hot, especially if it wasn't before. The easiest way to answer that question is to profile your game, if you have Pro or can add some timers of your own. You can also think about what you changed or added recently. Since you have a previous version that you know worked, then it's almost certainly something you changed that introduced the issue. Maybe it's a new script or a fancy new visual effect or who knows.

Comment
Add comment · Share
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

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

23 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

Related Questions

Threaded Pathfinding still lagging 1 Answer

Reducing Lag in Game? 6 Answers

Lag issues with unity3d + Arduino (Xbee) 0 Answers

Infinite Terrain Dilemma. (Chunk Based System... Not A Minecraft Clone) [FIXED! PLEASE USE AS A REFERENCE.] 1 Answer

Lag when hitting an object 1 Answer


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