Search Unity

Computer fan goes full blast when running Unity App

Discussion in 'Windows' started by nsmith1024, Apr 15, 2020.

  1. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    870
    Hello,

    I have an WINDOWS stand alone app made by unity 2018.3.xx

    The app runs fine, but when i run the app the CPU usage sky rockets, and the fan starts blowing like jet engine. i cant even hear myself think anymore.

    Anybody knows whats causing this or how to reduce the CPU usage?

    I tried setting the maximum frame rate to around 24 fames per second hoping to reduce the CPU load, but fan still going like F-16. Anybody has any ideas?

    Code (CSharp):
    1. #if UNITY_STANDALONE_WIN || UNITY_STANDALONE_OSX || UNITY_EDITOR
    2.         Application.targetFrameRate = 24;
    3.         Screen.fullScreen = false;
    4. #endif