Something very weird is going on.
When I look at profiler, I see most of the CPU time (23-25 ms out of 28 total frame time) is spent on “WaitForTargetFPS”, which means as far as I understand that the CPU is idle.
Then again, when I look in task manager, whether the game is running in editor or an actual build, it shows 50% CPU usage and my machine can barely move.
Why can’t I see this in the profiler? Could it be other threads that are not shown in the profiler?