Search Issue Tracker
Not Reproducible
Votes
29
Found in
2017.1.0b4
Issue ID
909581
Regression
Yes
Building on top of old build while its output_log.txt is open causes build to fail
Steps to reproduce:
1. Create new project
2. Build and run
3. Once resolution selection screen launches - close it
4. Navigate to _data folder located in same folder as build executable
5. open output_log.txt
6. Return to editor and do build and run to overwrite previous build
7. Build fails. Contents of previous build are deleted (.exe and all items that were in _data folder)
Not reproducible: 5.4.5p2
Reproduced with:
5.5.0f3 (has somewhat useful error: OperationCanceledException: Failed to prepare target build directory. Is a built game instance running?)
5.5.3p3 (no warning or error)
5.6.1f1 (no warning or error)
2017.1.0b4 (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 )
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
ASDFD12
Jun 15, 2017 19:03
Unity2017.1.0b9
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
0x0000000140985A4B (Unity) StackWalker::GetCurrentCallstack
0x0000000140988F6F (Unity) StackWalker::ShowCallstack
0x0000000140D2FB00 (Unity) GetStacktrace
0x0000000141073486 (Unity) DebugStringToFile
0x0000000141073C5C (Unity) DebugStringToFile
0x0000000141858522 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000000031601D1B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,string,UnityEngine.Object)
0x0000000031601C04 (Mono JIT Code) [DebugLogHandler.cs:9] UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000000031601505 (Mono JIT Code) [Logger.cs:47] UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000000003A20D163 (Mono JIT Code) [DebugBindings.gen.cs:124] UnityEngine.Debug:LogError (object)
0x0000000037C12C93 (Mono JIT Code) [BuildPlayerWindowBuildMethods.cs:88] UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000000037C1252C (Mono JIT Code) [BuildPlayerWindow.cs:163] UnityEditor.BuildPlayerWindow:BuildPlayerAndRun (bool)
0x0000000037C120CC (Mono JIT Code) [BuildPlayerWindow.cs:157] UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
0x0000000012370A8E (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x000007FED3DD5B63 (mono) [mini.c:4937] mono_jit_runtime_invoke
0x000007FED3D2872D (mono) [object.c:2623] mono_runtime_invoke
0x00000001403DF703 (Unity) mono_runtime_invoke_profiled
0x00000001413F49EB (Unity) CallStaticMonoMethod
0x00000001413F5DA7 (Unity) CallStaticMonoMethod
0x0000000140030959 (Unity) ExecuteStandardMenuItem
0x000000014003111D (Unity) ExecuteMenuItemWithID
0x0000000141A7642E (Unity) ProcessMainWindowMessages
0x00000001400299FD (Unity) ContainerWindow::ContainerWndProc
0x00000000776CC3C1 (USER32) GetSystemMetrics
0x00000000776CA01B (USER32) IsDialogMessageW
0x00000000776CA061 (USER32) IsDialogMessageW
0x00000000779211F5 (ntdll) KiUserCallbackDispatcher
0x00000000776D91BA (USER32) GetKeyboardState
0x00000000776F0CB6 (USER32) TranslateAccelerator
0x0000000141A76881 (Unity) MainMessageLoop
0x0000000141A78327 (Unity) WinMain
0x0000000141CD9EEC (Unity) __tmainCRTStartup
0x00000000777C59ED (kernel32) BaseThreadInitThunk
0x00000000778FC541 (ntdll) RtlUserThreadStart
tomas-dostal
Jun 14, 2017 20:02
Getting same error in 2017.1.b6
KaimanWalker
Jun 06, 2017 18:09
Got this with 2017.1.0b4
c301
May 28, 2017 12:13
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.HostView:OnGUI()
yangjianhui8
May 20, 2017 07:54
Not reproducible: 5.6.0f3
yangjianhui8
May 20, 2017 07:53
i same with you!
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.HostView:OnGUI()