Prevent recompile after build?

Each time I make a build (OS X), which takes about 20 seconds, the editor seems to recompile/reload all scripts, just like when I edit any of the .cs files.

Since I build a lot to test network features, I need to wait another 15-20 seconds for the editor to recompile, before I can start play mode in the editor.

Is there a reason that it recompiles and can it be disabled? No code has been changed after the build, only files in the Builds folder, if I’m not mistaken.

Thanks!

  • Are you sure it’s recompiling and not doing something like baking lightmaps?
  • Where is your build folder located? Inside Assets by any chance?

This happens for me as well, on all projects, for years. I’ve stopped thinking about it, really, but now that somebody brings it up I’d be really glad to know if there’s a reason for why it happens.

1 Like

I’m not sure but it takes about the same time as compiling. Gee i wish unity could speed this up some day :slight_smile: assembly files didn’t work for me.

It’s not baking light maps, that’s disabled. The build folder is in the root folder of the project.

Maybe I should check if any files change in the asset folder, that usually recompile things, at least .cs files…