- Home /
Question by
PixelSpartan · Mar 23, 2017 at 09:09 AM ·
mesh colliderdynamic batching
Dynamic batching: index buffer source is NULL (first IB byte 0 count 0 first vertex 0 offset 0) even when disabled
I get the Dynamic batching: index buffer source is NULL (first IB byte 0 count 0 first vertex 0 offset 0) error spammed in console even when i disabled dynamic batching in all platforms! Why doesnt it tell which object is causing the error, might give a chance to fix it. I think its happening on some procedural meshes (only mesh collider is procedural and the graphic is a sprite)
Comment
Answer by PixelSpartan · Mar 23, 2017 at 09:15 AM
Fixed it by not rendering sprites which are all alpha (without any colored pixels, as if its null) by disabling the sprite renderer