Building will 75% of the time throw me into a new empty scene

  1. Build.

  2. Find yourself randomly in an empty scene either at the beginning or at the end.

5.6f1

I just tested building my project and it worked fine, which leads me to believe that it might be something project-related that triggers this issue.

If it’s project related, thus can’t be reproduced easily with any project, I think Unity requires more information to figure out what’s going on.

If receiving a fix for it is important to you, I suggest to report the issue following the guidelines in this document and post the Case # in this forum thread afterwards.

From my experience with Unity QA so far:
It’s most important to submit a (small) project that they can use to reproduce the issue along with “How to reproduce” steps that can be easily executed. The easier it’s for QA to reproduce an issue, the more likely it gets passed to a developer.

1 Like

works here also (tested on webgl build)

i think sometimes that happened if output folder/file is open, so files are locked when it tries to build…

1 Like

I would suggest bug reporting it. 75% is enough to reproduce on Unity’s side. I think it might be an asset you use that preprocesses on play or build, that crashes or something that could potentially cause this. Just guessing so to avoid guessing, report it.

I’ve had this happen too a few times. I don’t run builds very often, so am not sure what percentage of the time this happens.

If your build is stopped for any reason you can be left in a blank scene. This includes having the log file open from a previous build while attempting to overwrite with a new build, causing a write failure.