- Home /
Why does the project stop building after a failed build?
Using the latest Unity 2017.1.1p4, it seems I cannot build a project if a previous build has failed, even if I do fix the errors. If I restart Unity, the build will work correctly.
The problem appears only if I attempt a build while there are errors in a script. If I fix them before attempting the build, everything works fine.
Is there a clean option I can use to avoid this?
Here is the error that appears after a failed build... and never goes away
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:83
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Your answer
![](https://koobas.hobune.stream/wayback/20220612140849im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
How can I stop the variable values reverting to its default values after being built? 1 Answer
All my scripts have stopped working after trying to build & run 1 Answer
unity load an player made C# script 2 Answers
Unity 5. Command Invocation Faliure 1 Answer