LoadLevelAdditive and static batching

Hi there !

I’m working on a game with proceduraly-generated levels based on tiles, and i’m wondering if it’s possible to move an entire level with the static checkbox ticked after an additive loading.
Using StaticBatchingUtility.Combine() works well, but i don’t know if the performance cost is higher than the editor static flag or not.

Thanks in advance !

Are you levels procedurally generated in the editor and then compiled and just loaded when you start a level or are your levels generated while playing/loading it?

static batching works only at compile time, i.e. when you generate content in the Editor and mark the objects, then the game gets compiled it will also create the static batching. Once the game has been compiled, you have no other option than to use the .Combine and do it before the level loads