- Home /
Does multiple scenes in exe-build share data files?
Hello. My question is concerning the exe-build and its' performance.
If I create multiple exe-builds for multiple scenes that uses the same environment, will the performance differ (better maybe) if I create one exe-build for all the scenes?
Sorry if the question sounds confusing. Thanks to anyone who can answer this.
I'm not an expert on desktop builds. But I see not reason you could just not combine the data folders from the various builds.
Why are you after different .exe?
From what I understand (and was told), if I make separate exes for separate scenes, startup time or loading time of the scenes will be faster compared to scenes from a single exe. From the naked eye, it does not make a difference.
$$anonymous$$y goal is to achieve shortest loading time for switching between scenes in a single/multiple exe.
I wouldn't expect separate exes to be faster for switching scenes than a single exe. If you want the shortest possible loading times, use a strea$$anonymous$$g approach like with SECTR STREA$$anonymous$$ or roll your own solution using something like LoadLevelAdditive.
Answer by MakeCodeNow · Oct 08, 2014 at 04:12 AM
Each build is stand alone and self sufficient so by default the data will be duplicated. You can probably get around it using custom build steps if you have Pro but it'll take plenty of manual work.
Thank you for your reply. Could you elaborate more on custom build steps? Tweaking the build settings maybe?
They are extensively covered in the docs in the Asset Build Steps script hooks. Tl;DR, it requires program$$anonymous$$g,
Your answer
Follow this Question
Related Questions
Windows standalone build without data folder 1 Answer
Multiple .exe files for different scenes 1 Answer
Unity wiping scene 3 Answers
Rotating plane from its edge 0 Answers