unity draw calls stuck at 2000 despite instancing enabled
Unity 2022.3, URP. I have a scene with a few thousand low-poly trees (each is a prefab with 3 mesh renderers sharing one material). Stats says ~2200 draw calls and batches are not combining. I enabled 'Enable GPU Instancing' on the material. The shader is a custom Lit shader I wrote in Shader Graph. Frustum culling is on. Why isn't instancing kicking in? Do I need to enable it in the URP asset too, or is there something about Shader Graph materials that breaks batching? Battery drain is bad on the target mobile.
4 replies