Search Unity

Question Need help with GPU Instancing 2021.3.11f1

Discussion in 'Getting Started' started by MikeE85, Oct 30, 2022.

  1. MikeE85

    MikeE85

    Joined:
    Aug 25, 2018
    Posts:
    3
    Hi,
    I have switched from Unity 2019 to Unity 2021. I use the URP.
    When I use GPU Instancing, nothing is displayed for "Saved by batching".
    Do I need to enable this somewhere additionally?
    Kind regards
    Mike
    1.jpg 2.jpg
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,060
    Dynamic batching is disabled when you use the SRP batcher.
    Setpass calls are the actual draw calls, as shown in the frame debugger
     
  3. MikeE85

    MikeE85

    Joined:
    Aug 25, 2018
    Posts:
    3
    Thanks for the answer. Is the SRP Batcher automatically on? Because I have not activated it.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,060
    Yep
     
  5. MikeE85

    MikeE85

    Joined:
    Aug 25, 2018
    Posts:
    3
    Thank you very much! :)
     
    DevDunk likes this.