# ERROR: Targets cannot be built in the Debug configuration with this engine distribution

**URL:** <https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078>\
**Category:** Platform & Builds\
**Tags:** error, debug, unreal-engine, packaging-projects, question\
**Created:** [August 2, 2020, 7:36pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078 "2020-08-02T19:36:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 2, 2020, 7:36pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/1 "2020-08-02T19:36:32Z")

</div>

I have UE4 25.1 installed with debug symbols. When I try to package a project with Debug configuration I get this error.

---

<div class="post-metadata">

**Author:** ![TheKaosSpectrum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKaosSpectrum](https://forums.unrealengine.com/u/TheKaosSpectrum)\
**Post date:** [August 2, 2020, 8:30pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/2 "2020-08-02T20:30:01Z")

</div>

Going to need more info than this

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 2, 2020, 9:36pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/3 "2020-08-02T21:36:58Z")

</div>

![308938-ue4-options.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/a/f8adeb9d4e10ab488c5f504bb64890a8bb51984b.png)

 ![308939-ue4-packaging.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/e/5cea65adea535de5dde084cf19f765cea2602c65.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 2, 2020, 9:40pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/4 "2020-08-02T21:40:11Z")

</div>

PackagingResults: Error: Targets cannot be built in the Debug configuration with this engine distribution.  
UATHelper: Packaging (Windows (64-bit)): Took 1.1743374s to run UnrealBuildTool.exe, ExitCode=6  
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool failed. See log for more details. (C:\Users\spear3\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE\_4.25\UBT-MyBlank3-Win64-Debug.txt)  
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED  
PackagingResults: Error: Unknown Error

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 3, 2020, 4:28pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/5 "2020-08-03T16:28:50Z")

</div>

I don’t know why but it keeps deleting my reply with the rest of the log.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 4, 2020, 9:05pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/6 "2020-08-04T21:05:54Z")

</div>

Error log

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 8, 2020, 9:58pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/7 "2020-08-08T21:58:08Z")

</div>

LogUObjectHash: Compacting FUObjectHashTables data took 1.36ms  
LogMainFrame: Selected target: MyBlank3  
LogLauncherProfile: Unable to use promoted target - …/…/…/…/Unreal Projects/MyBlank3/Binaries/Win64/MyBlank3-Win64-Debug.target does not exist.  
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…  
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=“D:/Epic Games/Unreal Projects/MyBlank3/MyBlank3.uproject” BuildCookRun -nocompileeditor -installed -nop4 -project=“D:/Epic Games/Unreal Projects/MyBlank3/MyBlank3.uproject” -cook -stage -archive -archivedirectory=“D:/Epic Games/Unreal Projects/MyBlank3/mybuild-debug” -package  
-ue4exe=“D:\Epic Games\UE\_4.25\Engine\Binaries\Win64\UE4Editor-Cmd.exe” -pak -prereqs -targetplatform=Win64 -build -target=MyBlank3 -clientconfig=Debug -utf8output  
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for D:\Epic Games\Unreal Projects\MyBlank3\MyBlank3.uproject  
UATHelper: Packaging (Windows (64-bit)): \*\*\*\*\*\*\*\*\*\* BUILD COMMAND STARTED \*\*\*\*\*\*\*\*\*\*  
UATHelper: Packaging (Windows (64-bit)): Running: D:\Epic Games\UE\_4.25\Engine\Binaries\DotNET\UnrealBuildTool.exe MyBlank3 Win64 Debug -Project=“D:\Epic Games\Unreal Projects\MyBlank3\MyBlank3.uproject” “D:\Epic Games\Unreal Projects\MyBlank3\MyBlank3.uproject” -NoUBTMakefiles -remoteini=“D:\Epic Games\Unreal Projects\MyBlank3” -skipdeploy -Manifest=“D:\E  
pic Games\Unreal Projects\MyBlank3\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\spear3\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE\_4.25\UBT-MyBlank3-Win64-Debug.txt”  
UATHelper: Packaging (Windows (64-bit)): ERROR: Targets cannot be built in the Debug configuration with this engine distribution.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c8d46d6a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c8d46d6a](https://forums.unrealengine.com/u/anonymous_user_c8d46d6a)\
**Post date:** [August 8, 2020, 9:58pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/8 "2020-08-08T21:58:11Z")

</div>

LogUObjectHash: Compacting FUObjectHashTables data took 1.36ms  
LogMainFrame: Selected target: MyBlank3  
LogLauncherProfile: Unable to use promoted target - …/…/…/…/Unreal Projects/MyBlank3/Binaries/Win64/MyBlank3-Win64-Debug.target does not exist.  
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…  
UATHelper: Packaging (Windows (64-bit)): Parsing command line: -ScriptsForProject=“D:/Epic Games/Unreal Projects/MyBlank3/MyBlank3.uproject” BuildCookRun -nocompileeditor -installed -nop4 -project=“D:/Epic Games/Unreal Projects/MyBlank3/MyBlank3.uproject” -cook -stage -archive -archivedirectory=“D:/Epic Games/Unreal Projects/MyBlank3/mybuild-debug” -package  
-ue4exe=“D:\Epic Games\UE\_4.25\Engine\Binaries\Win64\UE4Editor-Cmd.exe” -pak -prereqs -targetplatform=Win64 -build -target=MyBlank3 -clientconfig=Debug -utf8output  
UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for D:\Epic Games\Unreal Projects\MyBlank3\MyBlank3.uproject  
UATHelper: Packaging (Windows (64-bit)): \*\*\*\*\*\*\*\*\*\* BUILD COMMAND STARTED \*\*\*\*\*\*\*\*\*\*  
UATHelper: Packaging (Windows (64-bit)): Running: D:\Epic Games\UE\_4.25\Engine\Binaries\DotNET\UnrealBuildTool.exe MyBlank3 Win64 Debug -Project=“D:\Epic Games\Unreal Projects\MyBlank3\MyBlank3.uproject” “D:\Epic Games\Unreal Projects\MyBlank3\MyBlank3.uproject” -NoUBTMakefiles -remoteini=“D:\Epic Games\Unreal Projects\MyBlank3” -skipdeploy -Manifest=“D:\E  
pic Games\Unreal Projects\MyBlank3\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\spear3\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE\_4.25\UBT-MyBlank3-Win64-Debug.txt”  
UATHelper: Packaging (Windows (64-bit)): ERROR: Targets cannot be built in the Debug configuration with this engine distribution.

---

<div class="post-metadata">

**Author:** ![DryreL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dryrel/32/1042339_2.png) [@DryreL](https://forums.unrealengine.com/u/DryreL)\
**Post date:** [June 22, 2022, 3:13pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/9 "2022-06-22T15:13:02Z")

</div>

Same problem here. Any solution?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/1/fd1972f9fd083954e803e8f78228d6fd7eb95878.png)

[build failed log.txt](https://forums.unrealengine.com/uploads/short-url/2koEhB9Ltyb41aBg7UnuhzzHrVU.txt) (144.9 KB)

---

<div class="post-metadata">

**Author:** ![Bad\_Imp\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bad_imp_studios/32/703494_2.png) [@Bad\_Imp\_Studios](https://forums.unrealengine.com/u/Bad_Imp_Studios)\
**Post date:** [May 4, 2023, 11:26pm UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/10 "2023-05-04T23:26:31Z")

</div>

I think you need to put it in development rather than debug.

---

<div class="post-metadata">

**Author:** ![cwclive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cwclive](https://forums.unrealengine.com/u/cwclive)\
**Post date:** [June 26, 2023, 3:49am UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/11 "2023-06-26T03:49:49Z")

</div>

How do you fix it？

---

<div class="post-metadata">

**Author:** ![JamCitic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JamCitic](https://forums.unrealengine.com/u/JamCitic)\
**Post date:** [October 24, 2024, 12:07am UTC](https://forums.unrealengine.com/t/error-targets-cannot-be-built-in-the-debug-configuration-with-this-engine-distribution/469078/12 "2024-10-24T00:07:25Z")

</div>

Are you trying to run from VSCode? If so, try the following:

- Select Build and Run tab (at left)
- Select the GameDebug Build type from the “Build and Run” dropdown  
No guarantees…(hopefully the pasted image (below) comes across in the post.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/b/84b8960b42e59b55e38e2c361d10c740348dd5b3.png)
