I’m having some Batching issues.
I have multiple FBX with 2 meshes. I place some of these FBX close to each other to look like an Island. I need to spawn a bunch of these Islands.
When I spawn these Islands with only 1 FBX. It Batches perfectly fine. I can spawn a bunch of them without increasing the Draw Calls.
Test 1: 20 Islands, Island Consists of FBX_A
Tris: 1.4K - Verts: 2.5K - Batches: 1 - Meshes: 40
This works for each of the FBX. Another example:
Test 2: 20 Islands, Island Consists of FBX_B
Tris: 1.4K - Verts: 2.4K - Batches: 1 - Meshes: 40
Now if I spawn Islands with more then 1 FBX. Batching doesn’t work anymore, or atleast acts weird.
Test 3: 20 Islands, Island Consists of FBX_A and FBX_B
Tris: 1.9K - Verts: 3.4K - Batches: 37 - Meshes: 80
If I go over the Vertex Attribute limit, should it not just create a few extra batches, and not 36?
The Code that creates these objects:
GameObject chunk = (GameObject)GameObject.Instantiate(GetGameObject(name));
chunk.name = chunk.name.Replace("(Clone)", string.Empty);
MeshRenderer[] meshRenders = chunk.GetComponentsInChildren<MeshRenderer>();
foreach (MeshRenderer mesh in meshRenders)
{
mesh.shadowCastingMode = ShadowCastingMode.Off;
mesh.receiveShadows = false;
mesh.useLightProbes = false;
mesh.reflectionProbeUsage = ReflectionProbeUsage.Off;
}
ChunkInfo info = chunk.AddComponent<ChunkInfo>();
info.Id = chunk.name;
objectList[name].Enqueue(info);
- I don’t change the materials
- The Scaling is all (1,1,1)
- All of the FBX are under the same Parent.

I am truly puzzeled why the batching is acting so weird.
Any help and/or insight to why this is happening would be great.
EDIT: Added Scene information (Tris, Verts, Batches, Meshes)
EDIT 2: Changed some terms to be more clear.
EDIT 3: Something else I noticed which might be connected.
As example, I have a Hexagon in the middle with Material 1.
Around this Hexagon I have another 3 with Material 2.
These are batched normally.
Now if I add another 3 Hexagons with Material 3. The Batching acts weird.
Not only does it not properly Batch the new Hexagons. Unity also no longer correctly batched Material 2
I think this is the same issue as with the Chunks. But I still have no idea why that happens.





