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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
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