- Home /
Question by
LK84 · Jan 15, 2017 at 04:40 PM ·
error messageerror build
OperationCanceledException: Failed to prepare target build directory. Is a built game instance running?
This error keeps popping up more and more often when making a standalone build on Windows. There is no other game instance running according to task manager. Any idea?
OperationCanceledException: Failed to prepare target build directory. Is a built game instance running?
UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.DeleteDestination () (at C:/buildslave/unity/build/PlatformDependent/WinPlayer/Extensions/Managed/WindowsDesktopStandalonePostProcessor.cs:82)
DesktopStandalonePostProcessor.CopyStagingAreaIntoDestination () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:225)
DesktopStandalonePostProcessor.PostProcess () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:25)
Comment
Have you tried uninstalling the target directory, and rebuild your game? I've seen this problem once, and it could be fixed with deleting the files in the target directory, or choosing another directory to build.
Your answer
Follow this Question
Related Questions
Unity Gradle Build Failed 0 Answers
Hello when i change mono to IL2cpp then some error occured. How to fix these error please help 1 Answer
Invalid Il Code Error (IL_000f: call 0x0a00000d),Invalid Il code Error (IL_000f: call 0x0a00000d) 0 Answers
How to remove android.enableR8' from the project 9 Answers
Unity 2017 is not working. 2 Answers