Hello,
I have been working on a tool to combine meshes to get a performance gain for a mobile game.
But when I used my mesh combiner, everything works perfectly but the only problem I saw is an increase of the number of triangles.
I set up a simple scene in HDRP to show you.
It is composed of a bunch of 3D object with a custom one I made in blender. It is the one on the right which is selected. It is compose of 3 submeshes so 3 materials as you can see on the picture.
When nothing is combined, I have the following stats:

(Do not pay attention to the FPS, I am on my laptop with low energy consumption enabled)
As you can see, the number of triangles is about 19.6k, which is huge but I know that is depends on lights used in the scene and other things.
When I combine every object, here are the stats I have:

As expected, the number of batches decreased (from 130 to 92) which is a good thing but the number of triangle has increased (from 19.6k to 22.1k) and I don’t understand why!
Here is the mesh generated:
After the combination, every object is disabled and only the game object with the mesh and the materials is enabled:
The strange things is, when I turn the shadows off, as expected the number of triangle is lower and the mesh combination has no impact except the number of batches:
- Batches: 93 → 75 when combined
But the number of triangles remains the same, why?
- Triangles: 8.8k → 8.8k when combined
I am not surprised to see that the shadows have a impact on the number of triangles but I don’t understand why there is a difference between uncombined and combined mesh.
If you have any answer, I would be very interested in it.
Have a good day.


