Unity build with multiple .exe files

Hey guys,

I was wondering: I have a requirement where I need to have multiple executables on the same project. Imagine something like “game32.exe, game64.exe, gameEditor.exe”. This is due to the fact that we want to use the same “base-project”, but with variations regarding which scenes are loaded per executable, and smaller build options differences.

Would the appropriate way to achieve this be:

+Select scenes for build
+Set settings
+Set .exe name
+build
+repeat to the same folder

Is this the best practice for this scenario?

sounds like you might want to check out the BuildPipeline system.

I need build two exe,but i want use same data file.What should I do.
I use BuildPipeline.BuildPlayer to build two exe but it create two data file.