Why is Unity maxing out my cpu when I build an android app?
So basically what happened is I created a simple 2d box that has some balls bouncing around it in. I told unity to build the package for the game and during the creation of the package which should just be compiling the game and creating the APK, my CPU spiked to 100% and my temps went though the roof, and my CPU started to hang. Now this computer is build for high end gamming and I have compiled many other android apps and small games with this never happening. But when I use unity it happens every time. Is there some setting I missed when setting up unity or could something else be going on that would cause the CPU to max out. I have checked all the normal issues like bad thermal paste , etc. I really like using unity but I don't want to burn up my CPU as they are kind of hard to come by atm.
Cpu will allways work on the max that is possible
Let say a scenario idle:
100%works on desktop and finishes early so it uses 1% waits for command and works, ...
Scenario loading
100% works but waits for hdd to read data through south bridge so uses 20% or less
If you have ssd on NVMe that is 5GB/s CPU will be slower to calculate all things to do and sends to RAM and gets back, calcs and is less strong than is the north bridge so your CPU is the slowest part of your machine.
Sorry never builded android
What version of unity do you have?
Please don't post answers post comments like this instead.
Sorry moved.
The main issue here was not the 100% CPU it was the fact that it redlined my temp at 100% CPU, and since then I have ran multiple other process that use 100% CPU and not had this issue. But as soon as I try to compile an app my CPU hits 100% and runs so hot that it causes the fail safe to kick in and I have to reboot my PC.
Answer by unity_E564419DDAF3CCA25FBB · Nov 25, 2021 at 03:57 PM
Almost burned my CPU down with this DAMN bug. What is happening? Got the same problem while building!
Answer by nsmith1024 · Jan 07 at 05:16 PM
Has this been solved, Unity is burning up my CPU and fan, even when its not doing anything with a blank scene?