URP UI Batching issue

Hello everyone,

I’m working on a project using URP and encountered an issue with UI batching. I’ve searched the forums but couldn’t find a solution that addresses my specific problem.

Some of my UI elements are generating unexpected draw calls, despite using the same material, texture, keywords, and other settings.

I’ve turned on Dynamic Batching, Static Batching, GPU Instancing, and the SRP Batcher. Turning off Dynamic Batching didn’t change anything either.

Does anyone have any advice on how to resolve this? I’d really appreciate some guidance.


(I’ve posted the additional images in the comments.)

Are you using multiple Canvases? Apparently that adds draw calls.

Image is extra tiny btw.

For me I have to put UI elements in the same hierarchy level for them to batch together.
Not sure if that project was in URP or BiRP

Yes, my project uses multiple canvases, but the issue I’m encountering is happening on the same canvas. I’ve also posted full screenshots. Thanks for the reply!

That seems relevant, but the batch cause is identified as an unknown reason, which is a bit confusing. In a hierarchy like the one below, could it be that text and images don’t get batched?

Could be. To test it put them together and see?