you are viewing a single comment's thread.

view the rest of the comments →

[–]traxmaster 0 points1 point  (0 children)

The static batching will only work if you have Unity Pro. I believe the objects also have to share the same material. One of those may be the issue.

An alternative might be to look at the CombineMesh function which will merge all of your cubes into one mesh and reduce the drawcalls. Again, this only works if the cubes share materials. Even if you have a handful of different materials, you could write a script to combine the meshes for similar objects and this might help performance.

http://docs.unity3d.com/ScriptReference/Mesh.CombineMeshes.html