Search Unity

Question Unnecessary WaitForTargetFps?

Discussion in 'Editor & General Support' started by Patrick_PS, Jul 29, 2022.

  1. Patrick_PS

    Patrick_PS

    Joined:
    Sep 9, 2019
    Posts:
    154
    I recently upgraded to 2021.3.5f1 LTS from 2020 LTS and I have noticed that when I profile my game on my ipad the WaitForTargetFPS category is eating a lot of CPU time. In the code I have set the target fps to be 60, the device is capped at 30 by iOS. Considering that I am almost constantly under 30 fps I do not understand why the WaitForTargetFPS is even triggered.

    Is there a setting I should disable somewhere?

    with WaitForTargetFPS: waitForTargetFps.JPG

    without it: withoutTargetFps.JPG