Search Issue Tracker

Fixed in 2017.1

Votes

0

Found in

5.6.0b8

Issue ID

890845

Regression

Yes

"Dynamic batching: index buffer destination/source is NULL" when dragging a blank sub-sprite to scene

2D

-

"Dynamic batching: index buffer destination/source is NULL" when dragging a blank sub-sprite of a Multiple-mode sprite to the scene

1. Open attached project
2. Expand the texture
3. Drag "MetalMan_31 to the scene

The following red asserts will appear in the console

Dynamic batching: index buffer destination is NULL (first IB byte 0 count 0 first vertex 0 offset 0)
UnityEditor.DockArea:OnGUI()
Dynamic batching: index buffer source is NULL (first IB byte 0 count 0 first vertex 0 offset 0)
UnityEditor.DockArea:OnGUI()

Occurring on: 5.6.0b8 onwards till 2017.1.0a3
Not occurring: 5.6.0b7 and older

In current trunk (2017.1.0a4), the red assert becomes a yellow error "Incomplete Mesh data in Sprite. Please reimport or recreate the Sprite"

Comments (9)

  1. F2bbba4266abb4a5cf79f0e4228b2a2f?d=mm

    Shawn-Halwes

    May 10, 2017 05:52

    Based on some testing if you force a reserialization on your texture assets with empty sprites in them this issue no longer happens in v5.6.0p4. My updated texture meta files now have the "serializedVersion" field set to 4 from 2. Hope this helps someone.

  2. F2bbba4266abb4a5cf79f0e4228b2a2f?d=mm

    Shawn-Halwes

    May 10, 2017 02:42

    Not fixed in v5.6.0p4

  3. F2bbba4266abb4a5cf79f0e4228b2a2f?d=mm

    Shawn-Halwes

    May 09, 2017 15:34

    Still happens in 5.6.0p3. Please tell me this will be fixed in 5.6.x version...

  4. 70f1e9a74f1e2489ff1e0303808e23ab?d=mm

    dude4004

    Apr 11, 2017 13:46

    Now my whole project in Unity Asset Store crash because of this.
    5.6.0f3

  5. 90be8cb2f2d9a35e5bee54b587a7e2ca?d=mm

    v2k

    Apr 03, 2017 14:56

    still occurs in 5.6.0f3

  6. 5096a93cd7810fad02a1355aee66641f?d=mm

    Zelek

    Apr 01, 2017 21:14

    The fix suggested by Crafting-Legends worked for me as well. Thank you for posting it!

  7. 0272b0a16da831543e88e2263359bcc4?d=mm

    crafting-legends

    Apr 01, 2017 11:29

    This error happened to me with blank sprites haven a tight mesh type. So a workaround for me was setting to FullRect and then restarting Unity. (Applying was not enough apparently to update the currently loaded mesh data.)

  8. 091971bb14983da1b6c6eceb5bb20d89?d=mm

    enzoravo

    Mar 31, 2017 21:28

    i'm also getting this issue in the unity 5.6.0f1, any workaround?

  9. 90be8cb2f2d9a35e5bee54b587a7e2ca?d=mm

    v2k

    Mar 22, 2017 20:44

    still occurs in 5.6.0f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.