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?