Dynamic Batching and vertex attributes

Hi there,

We’re trying to optimize our game by trying to batch as many meshes as we can. In Unity’s Manual it sayis that for a mesh to be batched dynamically it has to have less than 900 vertex attributes. We’re using only vertex position and UVs in our shader and we turned off normal and tangents in the model import inspector - still it’s only batched if vertices count is below 300. So I deduce that the minimum amount of attributes per vertex is 3. Is that correct? Is there a way to reduce it to two or even one?

Thanks!

Cheers.
JP

There is also a hard limit on vertex count, which is 300. Unfortunately this information is not documented :frowning:

But we have a batching debugging tool coming soon. It will tell you the exact reason why a batch breaks.

A WIP screenshot: