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"
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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