Editor Stats acting up

Hey guys,

I’ve noticed something really weird with the Unity 5 Beta12. For some odd reason, I get double (or triple) draw calls and triangles in the editor stats (see the below screenshot)

1843508--118247--upload_2014-11-11_2-24-33.png

Above is Unity 5b12 with standard shader with no texture and below is Unity4 with bumped diffuse no texture. Check the attached screenshots for more detail. Is this meant to be normal?

Here are my specs
Unity5 b12
ATI 7950
Win 7

And the draw call count and saved by batching count are not correct. I have do batching, in U4 the statistics is correct, But In U5, they are wrong.

I am wondering if this is due to the new standard shader or so…it really makes the whole system not worthy when statistics are not giving off correct figures…

I dont think so, the new standard shader is not used in my scene, and even it does, the statistics is wrong. I use U5 b12, but the bug is still there.

still getting the same stats on U5b13

Why? If the stats is wrong, how can I figure out the performance of my game?

I have seen the same thing. I have a mesh that fulfills the conditions for dynamic batching. In U4 it worked fine and each new instance of the mesh increased the number of “draw calls saved by batching” but did not increase the actual draw call count. In U5 with the same mesh, each instance increases the number of draw calls by one and the number of draw calls saved by 2. Very strange behaviour. Perhaps the implementation of dynamic batching has changed or perhaps it is as simple as sui0528 says and the stats are broken.

A comment from the Unity team would be very welcome!!

tl;dr: The stats are, while technically correct, quite misleading, and are fixed in b14.

Static batching works quite differently in 5.0 than it did in 4.5, and it now generates a lot more draw calls, but super-fast ones. The stats weren’t updated to reflect this, that has only recently been done in b14.

For the technical details, let me paste an email that was sent to the beta mailing list:

I hope this brought some clarification:)

2 Likes

Thanks JohannesL. That helps a lot !!!

Thanks JohannesL. But want to know further than you talked about the DP is not important in the NVIDIA & AMD GPU, how about the mobile GPU, the POWERVR, the adreno, the mali?

And I will be very happy if you can tell that the DP buget on mobile device.