- Home /
StaticBatchingUtility.Combine crash on device
I had a prefab about 1700 draw call. The prefab is instatiated at run time and it is not inside a scene so i use static batching utility combine to batch the draw call. While in editor i have 43 drawcall and about 1600 batched. On device i have a crash and the call stack says render get shared material...
when a prefab is not inside a scene the only way to batch is to use staticabatchingutility combine, am i right?
if a prefab is inside a scene the only way it is batched is when i set mesh read and write enabled, is this right?
there are any other way to batch or someone has the solution to my crash?
I tried to reduce the draw call number to 2 and works. Too many draw calls? Is there a limit to static batching?
Answer by Sperandii · Jan 27, 2014 at 04:02 PM
solved i had a gameobject without a material. It should be better Unity outputs an error message
Your answer
![](https://koobas.hobune.stream/wayback/20220613131623im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Static batching not working 0 Answers
How to tell if static batching is working? 0 Answers
Getting statistics info in a script? 0 Answers
Memory leaks problem by StaticBatchingUtility.Combine() for AssetBundle 0 Answers
Static batching doesn't reduce draw call 0 Answers