Search Issue Tracker
Fixed in 2017.1.X
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
"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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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.
Shawn-Halwes
May 10, 2017 02:42
Not fixed in v5.6.0p4
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...
dude4004
Apr 11, 2017 13:46
Now my whole project in Unity Asset Store crash because of this.
5.6.0f3
v2k
Apr 03, 2017 14:56
still occurs in 5.6.0f3
Zelek
Apr 01, 2017 21:14
The fix suggested by Crafting-Legends worked for me as well. Thank you for posting it!
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.)
enzoravo
Mar 31, 2017 21:28
i'm also getting this issue in the unity 5.6.0f1, any workaround?
v2k
Mar 22, 2017 20:44
still occurs in 5.6.0f1