Note: High CPU use in Unity3D in empty scene
Posted: 30 May 2016, 22:55
Just found out my application (not a 3D 'game') used around 80% CPU on a very fast Macbook Pro Retina. It's only parsing some network packets and sending others, nothing difficult.
The UI is built with NoesisGUI and is quite simple. There's no 3D geometry in Unity3D at all.
Problem seems to be, the camera renders at 300-500 fps because it has nothing to render. NoesisGUI is rendered in that same speed, which causes the CPU to 'overload'. Setting Application.targetFrameRate to 25 solved the problem: Back to 6% CPU use
The UI is built with NoesisGUI and is quite simple. There's no 3D geometry in Unity3D at all.
Problem seems to be, the camera renders at 300-500 fps because it has nothing to render. NoesisGUI is rendered in that same speed, which causes the CPU to 'overload'. Setting Application.targetFrameRate to 25 solved the problem: Back to 6% CPU use
