HDRP - Batching does not work

Hi!

Have to admit it’s a bit confusing and we’re working on improving that. First, the statistics window is not up to date when batcher is ON ( because some numbers have no meaning in batcher context, ie “saved by batcher” ). This is not ideal situation and we’re working on refactoring that statistic window to provide good metrics (with certainly new names))

Anyway if you really want to measure performance with and without batcher, I recommend you to use a small script ( SRPBatcherProfiler.cs ) . More details in that blogpost.

Regarding automatic GPU instancing, we by pass it when SRP Batcher is ON ( because in real life scene, batcher is slightly faster ). Of course you still can use explicit GPU instancing via Graphics.DrawInstanced for dedicated things.

4 Likes