[5.5.0b11] Dynamic batching: index buffer source is NULL

I’m getting this new error after updating from 5.3.6p8, nothing significant in the script code changed otherwise…

Dynamic batching: index buffer source is NULL (first IB byte 0 count 0 first vertex 0 offset 48)

The offset varies but it doesn’t tell me any more information and when I click on the error it doesn’t highlight the offending mesh. Any insight before I post a bug about it?

There are some other sources, and people have seen in 5.3 and 5.4:

Thousands of errors "srcIB" - Unity Engine - Unity Discussions (during 5.4)

Hopefully this overlaps with your situation, and we’ll get to this eventually.

1 Like

Thanks @ . Seems like the same problem. Still happens in 5.5.0f3.

Is this a Unity bug or is it a legitimate problem with the mesh that I’m generating?

Either way it would be much more useful if the error could identify the offending mesh and/or object. Also I have no idea what “index buffer source” means. The index buffer array itself that I’m setting in the submeshes should never be null.

For now I don’t need batching for that shader so I added the “DisableBatching” = “True” tag and that seems to eliminate the errors at least.