Mesh Combiner is a lightweight and intuitive Unity Editor extension that optimizes your scenes in just a few clicks. It allows you to merge multiple meshes into a single object while preserving materials and submeshes, all from the Unity Editor. This is perfect for boosting performance, reducing draw calls, and keeping your hierarchy clean. After combining, you can easily add a Mesh Collider if needed.
Features:
Combine multiple GameObjects into a single mesh
Preserves materials by grouping submeshes per material
Supports meshes with multiple submeshes
One-click execution via Tools > Mesh Combiner
Keeps the original position, rotation, and scale
Automatically saves the resulting mesh as an asset
Clean, editor-only script with no runtime overhead
How to Use:
Place the script in an Editor folder.
Select at least two GameObjects with a MeshFilter and MeshRenderer.
Open the Mesh Combiner from Tools > Mesh Combiner.
Confirm and let the tool handle the rest.
Compatibility:
Supports all render pipelines (URP, HDRP, Built-in)
Compatible with Unity 2022.3.57f1 and newer





