Search Unity

Bug Enabling SRP Batcher degrade CPU rendering performance

Discussion in 'Universal Render Pipeline' started by Kichang-Kim, Aug 5, 2020.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,011
    Hi. I can't sure this is a bug or not, but it doesn't seem to be normal case.

    I tested my URP project with SRP batcher option ON/OFF (both case enabled Graphics Jobs). The result is suprising:

    SRP Batcher Enabled : Render Opaques Batch count : 132, CPU Rendering time 24ms (average)
    SRP Batcher Disabled : Render Opaques Batch count : 320, CPU Rendering time 17ms (average)

    Even SRP batcher makes batch count be small, but its CPU rendering time just increased!

    Experimental environment setup is here:
    Unity 2020.1.0f1 + URP 8.2.0 + iPhone8+

    Is this normal behaviour? if it is, any recommendation for optimizaing CPU rendering time, especially for URP?

    (My project is migrated from legacy pipeline and URP seems more slower than legacy)
     
  2. Shaunyowns

    Shaunyowns

    Joined:
    Nov 4, 2019
    Posts:
    328
    Hey there @Kichang-Kim, I can pass the post along at the least to see if we can get a response on this!