Profiler PlayerLoop spikes with no apparent reason

I’m trying to figure out what causes lag spikes in my application. They seem to happen even though I only have a very simple scene. Here are screenshots from the profiler showing a normally working frame and the laggy frame. I can’t seem to figure out what causes the long duration of the PlayerLoop in the latter.

Normally working frame


Laggy frame

Same here, desperately looking for an answer…

‘PlayerLoop’ can often have lag due to scripts in your scene. If the spikes are appearing consistently every 1-2 seconds, It may be a problem with a particularly expensive coroutine in one of your scripts.