- Home /
Why is the CPU usage so high?
As I mentioned in another question, I'm making a video game for android - but for some reason even though the RAM usage is now about 50mb, the CPU usage is still at almost 50%. I would like to know ways which I can reduce the CPU usage
above is a picture of the average statistics of my game (draw calls goes up to 83 though) but apart from Tris and Verts every statistic looks really small - what could I have done to this project to make it so CPU intensive?
The problem may be in the number of draw calls, as each draw call exerts a relatively significant amount of work on the CPU side. Also, your triangle count may be to large for an android game.
Experiment with draw call batching, try to lower the poly count to see if this does any effect and if you can, use the profiler to check the performance of your scripts.
http://docs.unity3d.com/Documentation/$$anonymous$$anual/DrawCallBatching.html
Answer by fred_gds · Dec 24, 2013 at 04:00 PM
I don't know what device your are testing on or what your game is about, but I can run way over 58 draw calls on my iPhone 4.
What you might want to consider are the Phyisic Calculations and PhysX that caused my CPU usage to go crazy.