Search Issue Tracker
Fixed in 2017.1.X
Votes
49
Found in
5.3.5f1
Issue ID
818189
Regression
No
Multiple "Dynamic batching: index buffer source is NULL" errors because of procedurally generated mesh
Steps to reproduce:
1. Open attached project
2. Open and play scene "Scene0"
3. Notice console flooded with: "Dynamic batching: index buffer source is NULL..." erorrs
Note: in 5.3.5f1 the error was "srcIB"
Reproduced with: 5.3.6p1, 5.4.0f3, 5.5.0a5
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
- Crash on GetSpriteAtlasDependenciesFromBinary when opening specific project
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
RunningJack
Nov 08, 2016 21:19
Same issue here. Fixed it by removing the material from empty subMeshes
Venryx
Oct 25, 2016 10:11
For me the problem was that one of the models had a material in the materials list that had no faces using it. Removing the unused materials fixed the error.
ikefrc
Oct 20, 2016 22:29
same problem, any news on this?
Radneto
Oct 12, 2016 10:59
We've recently switched to Unity 5.4.1p2 and our game now repeatedly crashes to desktop on iOS with il2cpp enabled.
livingtarget
Oct 12, 2016 10:57
Crashes iOS to home screen with il2cpp enabled after switching to 5.4.
minhngyen
Oct 05, 2016 21:07
Started getting this error after upgrading to 5.4.1f1. Looked like it was happening when I was setting a second set of triangles with an empty buffer. Patched up my code but don't think this was throwing an error in previous versions?
Alpha_ThePro
Sep 17, 2016 05:37
yup same problem here http://answers.unity3d.com/questions/1232441/how-do-i-get-rid-of-this-error-dynamic-batching-in.html#answer-1244381
Khal-Shariff
Aug 15, 2016 22:13
I get the same error, and we're using Simple LOD and I edited a mesh in game with a simple mesh editor.. had to turn dynamic batching off!
Metricton
Aug 13, 2016 20:36
Seems to be an issue with sub meshes, when there are more than one triangle lists on dynamically generated meshes. If I leave sub meshes at 2 but only add one of my triangle lists it works fine. However, when I add the second set of triangles it spews forth this error non stop. Also, each sub mesh has a different material. This is in the latest version of 5.4 as well.
Font8
Aug 09, 2016 00:48
Fills my console with spam in 5.4, makes dynamic batching unusable!