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. Dismiss Notice

HDRP Performance Spikes

Discussion in 'Editor & General Support' started by FortisVenaliter, Oct 24, 2021.

  1. FortisVenaliter

    FortisVenaliter

    Joined:
    Mar 23, 2013
    Posts:
    48
    Using Unity 2020.3.19f1 HDRP, with a stationary camera in the provided sample scene, I'm getting these crazy 40-60 ms spikes from Gfx.WaitForPresentOnGfxThread.

    Curiously, the spikes are rarer and only about 1/3 as bad when VSync is turned on.

    Everything I've read while googling indicates a busy GPU, but I'm not seeing anything that would account for the GPU being regularly busy for 50ms.

    Any ideas?

    upload_2021-10-24_11-18-59.png
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,722
    Is this in the editor or a standalone player?
     
  3. FortisVenaliter

    FortisVenaliter

    Joined:
    Mar 23, 2013
    Posts:
    48
    In the editor.
     
  4. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,722
    Try profiling your game in a standalone player and see if the problem persists.