- Изменено
batch with native sprite
I got a unity 2d sprite with native sprite renderer and a spine object on the same screen. They both refer to the same atlas. But the stat says there are two drawcalls and I wonder why.
I guess Unity doesn't batch MeshRenderers and SpriteRenderers, even if they share the same Material.
17 дней спустя
I haven't tested this, but are you just looking at the stats overlay, or did you check the frame debugger to see what's being drawn on each draw call? It has much more info on why something is being rendered when it is.
MeshRenderers seem to be grouped under "Dynamic Batch" and SpriteRenderers under "Draw Dynamic". googled it. yielded nothing meaningful.