- Home /
Loading Specific Scenes Post-Build
At the point that the "BuildPipeline.BuildPlayer" function is called, Unity seems to cache the scenes that were open and their state at the time. It later restores them after the build completes (and after all PostProcessBuild functions are called).
Instead of restoring this cached version, I'd like to have the scenes reloaded from disk (because of some temporary pre-build changes that I make in my build pipeline). Is it possible to disable or overload this automatic scene reloading functionality? Or is there a later event that I can hook into other than PostProcessBuild that happens after the restore takes place?
Your answer
Follow this Question
Related Questions
One Location Game (with Scenes Loaded and Disabled) 0 Answers
Scene.isLoaded not working properly. 1 Answer
Multiple scenes 2 Answers
Adding to delegate with multiple instances of the same object 1 Answer
Manually Edit EditoBuildSettings.asset 0 Answers