Profiler causing giant hiccups for no reason

Hi!

Recently, I’ve run into an issue where Profiler.FinalizeAndSendFrame is taking insane amounts of resources. For example:

This seems to happen randomly and started only today, so I’m very confused.

Is there any workaround this, besides turning off the Profiler?

I dunno about this slowdown specifically, but it’s normal for the profiler to cause a significant framerate reduction. If I had to guess, it’s because you have the Rendering panel open - it probably has to pause the GPU and wait for it to send data for it to profile. Sending data from GPU to CPU is always a slow process for both.

It appears this issue is fixed in 2017.3.

Honestly this deserved a hotfix imo. The FPS drop caused by the 50ms delay is extremely frustrating to work in.