Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Profiler causing giant hiccups for no reason

Discussion in 'Editor & General Support' started by DroidifyDevs, Aug 31, 2017.

  1. DroidifyDevs

    DroidifyDevs

    Joined:
    Jun 24, 2015
    Posts:
    1,724
    Hi!

    Recently, I've run into an issue where Profiler.FinalizeAndSendFrame is taking insane amounts of resources. For example:
    upload_2017-8-31_14-46-43.png

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

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

    Dreamback

    Joined:
    Jul 29, 2016
    Posts:
    220
    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.
     
  3. HoldTheLine

    HoldTheLine

    Joined:
    Jul 31, 2014
    Posts:
    10