Hi everyone,
I’m working on a project in Unity (version 2021.3.2f1, Built-in Render Pipeline) and want to optimize my scene by combining multiple static meshes into a single mesh. At the same time, I’d also like to bake the lighting for these combined objects in one unified process if possible.
My goal is to avoid doing two separate steps—combining the meshes first and then rebaking (or vice versa). Ideally, I want a workflow or tool that can both merge the meshes (for reduced draw calls) and also generate correct lightmaps (or maintain existing lightmaps) in a single pass.
I’ve considered using “Mesh Baker” or writing a custom script, but I’m not sure if there’s an established best practice or recommended approach for simultaneous mesh combining and lightmap baking. Has anyone successfully done this? Do you have any tips, tutorials, or documentation references?
Additionally, if simultaneous baking isn’t practical, what’s the standard pipeline? Should I combine the meshes first and then bake the lighting, or bake the lighting and adjust the UVs afterwards? Any guidance would be greatly appreciated. Thanks in advance!