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.
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?