Hi,
I found out about the draw calls calculation inside Unity and I am not sure why it’s happening and it looks weird to me.
Can somebody explain why do the Unity makes more draw calls when the camera is near to the object. I have got 100s of static objects inside the game level and you can see the number of draw calls in the following pictures.
Draw calls and poly count when the camera is near

Draw calls and poly count when the camera is far

1 Answer
1
Your total draw calls actually does go up, from 101 to 127. The ‘batched’ to the right of draw calls is the number of draw calls that Unity was able to combine into other draw calls - when three objects share the same material, Unity can do one draw call instead of three, so it has ‘batched’ two draw calls.
It looks like when you’re far out Unity simply does a better job of batching then when you’re close in. As for why that is, I’d have to look at how you define your meshes, materials, etc.
so.. it looks like Unity does better batching when the camera is far away from objects?
– softreadyIt could be that, it could also be that in your second screenshot there are no meshes that are only half on the screen. Or, it could be that in the second screenshot there are no gameobjects offscreen sharing materials with those onscreen. I don't know how exactly unity does its batching and rendering, so your guess is as good as mine.
– Julien-Lyngeyes.. In the scene, I've got three different materials. One material is for buildings and other two for Gate and Plane model. I've no idea of what's wrong :) May be it's a bug..
– softreadyI don't think that anything is wrong - Unity is simply following its algorithms to try and batch the calls as best it can. 6 vs 17 draw calls is really just noise - you only need to start worrying about draw calls when it starts getting up to 500 or 1000.
– Julien-Lynge