Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question URP Profiling/optimization?

Discussion in 'General Discussion' started by Allan-MacDonald, May 12, 2023.

  1. Allan-MacDonald

    Allan-MacDonald

    Joined:
    Sep 21, 2015
    Posts:
    114
    Is there any sort of definitive doc that talks about the differences between BRP and URP in terms of draw-calls and batching, how workflows for optimizations and tracking this over time changes with URP?

    I was just trying out unity's decal projector in URP and the stats window actually displays the batches/saved batches accurately, duplicated cubes on the other hand don't seem to get any saved batches in SRP as you would see with BRP's GPU instanced material options, or dynamic batching.

    I've read that URP handles drawcalls and batching differently than BRP, but it's spotty second hand information.

    I feel a bit like there's a lack of education/clarity on this? Maybe I just missed some important docs, where do I read more about this so I can feel more confident using URP. This is the main thing preventing me from upgrading at the moment, there's a lot of great things I see in URP now and the stability seems acceptable, it just feels a bit opaque atm in terms of managing costs of 3D art content.

    Cheers!
     
  2. Allan-MacDonald

    Allan-MacDonald

    Joined:
    Sep 21, 2015
    Posts:
    114
    One of the docs shared with me is this - https://docs.unity3d.com/2019.3/Documentation/Manual/SRPBatcher.html

    However it doesn't translate that well into a general best practice set of guidelines for URP. Some rule of thumb, something like FPS is king, forget draw-calls, track the millisecond costs via the profiler, minimizing batches through the frame debugger is still relevant though, etc.
     
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    7,263