Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug [Case 1213153] Profiler kills the performance with Gfx.WaitForPresentOnGfxThread

Discussion in '2019.3 Beta' started by QFSW, Jan 20, 2020.

  1. QFSW

    QFSW

    Joined:
    Mar 24, 2015
    Posts:
    2,906
    Not sure if anybody else has had this issue before, but I've been trying to profile my game on 2019.3.0f4 and it slows to an absolute crawl with Gfx.WaitForPresentOnGfxThread taking almost 400ms per frame - with the profiler disabled it gets an easy 100FPS
     
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,451
    I guess this happens while profiling Playmode?
    Where are you getting your FPS stats from? (Note: the stats overlay of the game view substracts time spend for Editor code, the Profiler does not)
    Does this happen while the ProfilerWindow shows the CPU Usage Timeline view or Hierarchy view and what happens if you select a different module?