Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

Discussion in '5.5 Beta' started by tessellation, Nov 15, 2016.

  1. tessellation

    tessellation

    Joined:
    Aug 11, 2015
    Posts:
    390
    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?
     
  2. Alex-Lian

    Alex-Lian

    Guest

    tessellation likes this.
  3. tessellation

    tessellation

    Joined:
    Aug 11, 2015
    Posts:
    390
    Thanks @Alex-Lian. 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.