Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
10
Found in
2017.1.1p4
Issue ID
962313
Regression
No
"Build failed with errors" error when trying to build while a Build is already running
To reproduce:
1. Download attached project "New Unity Project.zip" and open in Unity
2. Build & Run the project.
3. Run application and while the application is running, Build & Run the project again.
Note: You get the following useless error message:
"UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()"
Notes:
- This issue appears on Windows and OSX
- Obviously, the issue is that it's trying to overwrite files that are in use, but it needs to actually say that
- On Unity 5.6 it does not say anything
- On Unity 2017.3 in Console, it prints "Build completed with a result of 'Canceled'"
Reproduced on Unity 5.6.4p1, 2017.1.2p2, 2017.2.0p1, 2017.3.0b7 and 2018.1.0a2
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
juanitogan
Dec 18, 2018 07:19
It may make sense to "postpone" this issue... but, on the other hand, "Build completed with a result of 'Canceled'" is the message when the files are locked for any reason, and this is not a very helpful message for discovering that.
UNITY3D_TEAM
Mar 15, 2018 09:35
same problem for me also