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
0
Question by wankerman · Aug 12, 2016 at 02:12 AM · overheat

TargetFrameRate = 8. Drawcalls approx 30. Phone still overheating!

I created a gui-based app using Unity 5.3.4. In Update(), I only have a few simple if statements to check for keypresses. I force the TargetFrameRate = 8 while awaiting input. During input & animations, I set TargetFrameRate = -1.

As a test, I left my Galaxy S6 idling at 8fps on a page that has 30 draw calls.

The results after 15 minutes :

  • Phone is hot as hell

  • Battery down 7% !!! (remember, 30 draw calls @ 8fps)

The profiler shows that 98% of my CPU is spent spent in WaitForTargetFPS (PC) or in Device.Present (Android).

Why the heck is my phone overheating with such a small load and TargetFrameRate set to 8 ???

PS - I'm using fastest settings, with everything turned off. No lights, no shadows, half res textures. V-Sync off.

Thanks!

Comment
Add comment · Show 1
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 Arkaid · Aug 12, 2016 at 05:26 AM 0
Share

Because you have it on.

While the CPU is definitely one source of heat, the screen is also a culprit (also it eats battery the most. $$anonymous$$ore so than the CPU)

Do the same test, this time just leave it idling, with the screen on for 15 $$anonymous$$utes, and compare heat and battery. I bet you won't see that much of a difference.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by wankerman · Sep 14, 2016 at 02:18 PM

If you read my post carefully, you will notice that my test was done during idle. When I actually use the app, it starts throttling and battery goes down at a rate of 1% per minute or worse, even on my battery saver option which sets the TargetFrameRate at 30fps.

Comment
Add comment · Show 1 · 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
avatar image wankerman · Sep 18, 2016 at 02:07 AM 0
Share

I think I figured it out. I was using the default shaders on everything, which I assumed were light. I was wrong!

So I changed all my images to use the "$$anonymous$$obile/Particles/Alpha Blended" shader since I need alpha blending via the Canvas Group, and this is supposedly the cheapest built-in shader for that. And for my fonts, I'm using "UI/Unlit/Transparent" which keeps the colors I assign my text.

I also reduced the max sizes of my images to only the sizes that I needed. They were all set to 2048.

So now the phone gets only a little warm, just like any other Unity app/game. And the battery drain must be half what it was.

So to summarize, it was all in the Shaders and in the Texture sizes.

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

64 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 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

Phone getting too hot! Profiler shows nothing 4 Answers

Unity 5 and games cause violent fan noise and black screen... 1 Answer

Overheat! Reduce number of cores used. 1 Answer

Interpreting Profiler data 1 Answer

Unity causes Assassin's Creed Valhalla to crash (GeForce GTX 1070) 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