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 /
avatar image
0
Question by Abacab · Feb 17, 2016 at 01:05 PM · batchingtrisvertsprops

Computer starts heating up when I enable my props

Hello!

I've added about 300 props to my scene and my computer starts heating up when I enable them. These props include bushes, barricades and wooden boxes. I have no dropped FPS when playing, but the laptop fan goes ham.

I have 1M tris and 825k verts in my scene. 398 Batches and 1784 saved by batching.

Why is the fan going crazy?

EDIT: I know what causes the heat physically, but what in the scene could technically be causing the heating? ie what could be done to the props to improve performance?

EDIT2: Picture added

EDIT3: Basically when I look at my scene the fan starts going ham. If I disable the props or look at the sky in either scene view or play view the fan slows to a minimum.

alt text

screen-shot-2016-02-17-at-162257.png (408.3 kB)
Comment
Add comment · Show 4
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 Graphics_Dev · Feb 17, 2016 at 03:46 PM 0
Share

Are you getting a good frame rate?

avatar image Abacab Graphics_Dev · Feb 17, 2016 at 04:03 PM 0
Share

Yes. :) The stats show over 80 fps

avatar image Graphics_Dev Abacab · Feb 17, 2016 at 05:29 PM 1
Share
  1. Try clamping frame rate to 30 or so with scripting.

  2. Check out my answer here (I give 8 quick and easy ways to optimize in general): http://answers.unity3d.com/questions/1118347/game-running-faster-on-older-device-android.html#comment-1119877

  3. If you are using an alpha test shader try using an alpha blend shader

  4. Run the profiler and let us know exactly where the performance problems are

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by meat5000 · Feb 17, 2016 at 05:48 PM

MAKE SURE to point any cameras in the Scene View window to the sky so that NO objects are visible within that window.

Abacab : If I turn Scene View camera to the sky the fan slows down to a minimum but once I turn the camera to the scene the fan starts going crazy in a minute or two.

In that case this is not a problem. The Stats window counts all objects in the Scene View window on top of the Game Window. This is not a true reflection of how the final build will behave. If your scene view camera is looking at the whole scene you are guaranteed to strain the system by an absolute minimum of 2x.

If your stats are high when the Game View Camera is pointing at a small segment of the world then it is very reasonable to assume that if Scene View Camera is looking at the whole scene the load could be hundreds of times more.

If it is really at your disadvantage to turn the Scene View Camera to the sky all the time, look in the dropdown on the Scene Tab and deselect some of the options, like disabling lighting etc to reduce strain. Click the Vista button (I call it that because it looks like a landscape) to disable Skybox fog and lens flare. Or, just try to look at only a small portion of the scene at a time.

Comment
Add comment · Show 7 · 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 Abacab · Feb 17, 2016 at 06:09 PM 0
Share

It only started heating up recently when I started adding props to my scene. Haven't tested in a build yet but can I do something to the props?

It also heats up in Scene View when play mode is off.

avatar image Graphics_Dev Abacab · Feb 17, 2016 at 06:22 PM 0
Share

Is static batching enabled for the props?

avatar image Abacab Graphics_Dev · Feb 17, 2016 at 06:29 PM 0
Share

Yes I've ticked static for every prop. :)

If I turn Scene View camera to the sky the fan slows down to a $$anonymous$$imum but once I turn the camera to the scene the fan starts going crazy in a $$anonymous$$ute or two.

Show more comments
avatar image Abacab · Feb 18, 2016 at 12:21 PM 0
Share

Thank you. :) I never thought about it that way!

avatar image Dave-Carlile · Feb 18, 2016 at 02:43 PM 1
Share

Nice answer. This is one of those little things that are so far out of the realm of expected behavior that it doesn't really come to $$anonymous$$d as a potential issue, but is a really valuable nugget to tuck away for the next time it comes up.

avatar image
2

Answer by Dave-Carlile · Feb 17, 2016 at 01:53 PM

Because your CPU/GPU are doing more work which causes heat? But physics questions are beyond the scope of Unity Answers. :p

Have you checked your cooling system? Blow dust off the fans, make sure the heat sync is properly attached, etc. I had a "bug" a few months ago where my game would run normally but would slow down over the course of a few minutes - from 600+ fps down to 5. I spent hours trying to find the source of the bug, eliminating stuff from my game and could find nothing.

On a hunch I ran a CPU temperature monitor. Turns out the CPU was overheating and automatically throttling. Fans were caked in dust. Cleaned all that out and viola, "bug" fixed.

So, yeah, check your cooling system. But it's quite possible it's operating normally. That's what it's there for - to dissipate heat generated by doing work.

Comment
Add comment · Show 10 · 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 Abacab · Feb 17, 2016 at 02:09 PM 0
Share

Yes I know what causes the heat physically, but what in the scene could technically be causing the heating? :)

avatar image Landern Abacab · Feb 17, 2016 at 02:12 PM 0
Share

The computational rendering of the objects through your computer/gpu to the monitor for display. This is both the cause physically and programmatically(regardless if you coded it or dragged and dropped objects in to the scene).

avatar image Abacab Landern · Feb 17, 2016 at 02:13 PM 0
Share

What could be done to reduce the workload of the GPU?

Show more comments
avatar image meat5000 ♦ Abacab · Feb 17, 2016 at 03:21 PM 0
Share

In my nooby understanding having lots of irregular scales on (otherwise identical) objects will make them all into separate VBOs so they all get processed by GPU independently.

1$$anonymous$$ tris is a lot.

On android, GPU heating is massive when using alpha transparency, something to do with Overdraw. I assume its similar on PC.

Basically its doing more work than it needs to.

Open your profiler and look at the GPU section. And read this

avatar image Abacab meat5000 ♦ · Feb 17, 2016 at 03:42 PM 0
Share

This is what the graph looks like when in play mode and doing nothing:

alt text

screen-shot-2016-02-17-at-174125.png (58.9 kB)
Show more comments

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

36 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

Related Questions

Object stats counted even if they are out of view, why? 0 Answers

Decombine script or recalculate part of mesh? 1 Answer

static batching and verts 1 Answer

Need help with tilemap render, it's weird 1 Answer

Calc tris and verts pr. frame in webplayer 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