# "Project contains multiple Game targets but no DefaultGameTarget is set in the \[/Script/BuildSettings.BuildSettings\] section of DefaultEngine.ini"

**URL:** <https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [April 3, 2024, 12:01am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526 "2024-04-03T00:01:31Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![CeChaos936](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CeChaos936](https://forums.unrealengine.com/u/CeChaos936)\
**Post date:** [April 3, 2024, 12:01am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/1 "2024-04-03T00:01:31Z")

</div>

Hi guys, my package crashed and I get the following error: “Project contains multiple Game targets (MyProject, Resolink33) but no DefaultGameTarget is set in the [/Script/BuildSettings.BuildSettings] section of DefaultEngine.ini” Do you know how I can fix this?

Here’s The log:

# AutomationException: Project contains multiple Game targets (MyProject, Resolink33) but no DefaultGameTarget is set in the [/Script/BuildSettings.BuildSettings] section of DefaultEngine.ini at AutomationTool.ProjectParams.SelectDefaultTarget(List`1 AvailableTargets, TargetType Type, String& Target) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 2364 at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 2505 at AutomationTool.ProjectParams..ctor(FileReference RawProjectPath, BuildCommand Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList`1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, String UnrealExe, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 MapIniSectionsToCook, ParamList`1 DirectoriesToCook, String DDCGraph, String InternationalizationPreset, ParamList`1 CulturesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, Dictionary`2 ClientDependentPlatformMap, List`1 ServerTargetPlatforms, Dictionary`2 ServerDependentPlatformMap, List`1 ConfigOverrideParams, Nullable`1 Build, Nullable`1 SkipBuildClient, Nullable`1 SkipBuildEditor, Nullable`1 Cook, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 ForceUncompressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, String ForceOodleDllVersion, Nullable`1 IterativeCooking, String IterateSharedCookedBuild, Nullable`1 IterateSharedBuildUsePrecompiledExe, Nullable`1 CookAll, Nullable`1 CookPartialGC, Nullable`1 CookInEditor, String CookOutputDir, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 OptionalContent, Nullable`1 EncryptIniFiles, Nullable`1 EncryptPakIndex, Nullable`1 EncryptEverything, Nullable`1 SkipCookingEditorContent, String AdditionalCookerOptions, String OriginalReleaseVersion, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, String ReferenceContainerGlobalFileName, String ReferenceContainerCryptoKeys, Nullable`1 GeneratePatch, Nullable`1 AddPatchLevel, Nullable`1 StageBaseReleasePaks, String DiscVersion, String DLCName, String DLCOverrideCookedSubDir, String DLCOverrideStagedSubDir, String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 DLCPakPluginFile, Nullable`1 DLCActLikePatch, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, String DeployFolder, String GetFile, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 SeparateDebugInfo, Nullable`1 MapFile, Nullable`1 NoXGE, Nullable`1 SkipPackage, Nullable`1 NeverPackage, Nullable`1 Package, Nullable`1 Pak, Nullable`1 IgnorePaksFromDifferentCookSource, Nullable`1 IoStore, Nullable`1 ZenStore, String NoZenAutoLaunch, Nullable`1 SkipIoStore, Nullable`1 GenerateOptimizationData, Nullable`1 Prereqs, String AppLocalDirectory, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 PakAlignForMemoryMapping, Nullable`1 RehydrateAssets, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 PrePak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 SkipEncryption, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, Nullable`1 ArchiveMetaData, Nullable`1 CreateAppBundle, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList`1 ProgramTargets, Nullable`1 Distribution, String PackageEncryptionKeyFile, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, String ServerArchitecture, String EditorArchitecture, String ClientArchitecture, String ProgramArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, Nullable`1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHost, String TraceFile, String SessionLabel, ParamList`1 InMapsToRebuildLightMaps, ParamList`1 InMapsToRebuildHLOD, ParamList`1 TitleID, Nullable`1 RetainStagedDirectory) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 1276 at BuildCookRun.SetupParams() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 50 at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41 at AutomationTool.BuildCommand.Execute() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 345 at AutomationTool.BuildCommand.ExecuteAsync() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 354 at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 265 at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 164

AutomationTool executed for 0h 0m 2s  
AutomationTool exiting with ExitCode=1 (Error\_Unknown)

---

<div class="post-metadata">

**Author:** ![user\_624abfb1fc8d933a34bfd4cd7d59a1c30a69666ae9a273c8c333d4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_624abfb1fc8d933a34bfd4cd7d59a1c30a69666ae9a273c8c333d4](https://forums.unrealengine.com/u/user_624abfb1fc8d933a34bfd4cd7d59a1c30a69666ae9a273c8c333d4)\
**Post date:** [April 30, 2024, 7:36pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/2 "2024-04-30T19:36:50Z")

</div>

Hi, my friend, I also encountered this problem. Have you solved it now? May I ask you how to solve it?

---

<div class="post-metadata">

**Author:** ![DJMarii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DJMarii](https://forums.unrealengine.com/u/DJMarii)\
**Post date:** [May 31, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/3 "2024-05-31T14:57:05Z")

</div>

Go to your Game project file \> Intermediate file \> Source File then clear out any names that doesn’t match with your current project name then you should be able to package the game!

---

<div class="post-metadata">

**Author:** ![LazyHexor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LazyHexor](https://forums.unrealengine.com/u/LazyHexor)\
**Post date:** [June 28, 2024, 1:05am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/4 "2024-06-28T01:05:34Z")

</div>

I just logged in to say thank you!

---

<div class="post-metadata">

**Author:** ![Bychop](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bychop](https://forums.unrealengine.com/u/Bychop)\
**Post date:** [September 27, 2024, 12:55pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/5 "2024-09-27T12:55:34Z")

</div>

Thank you, thank you very much! Yeeeees!

---

<div class="post-metadata">

**Author:** ![QubaXR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qubaxr/32/471864_2.png) [@QubaXR](https://forums.unrealengine.com/u/QubaXR)\
**Post date:** [October 22, 2024, 5:31am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/6 "2024-10-22T05:31:55Z")

</div>

> [@DJMarii](#):
>
> rmediate file \> Source File then clear out any names that doesn’t match with your current project name then you should be able to package the game!

Thank you for the solution to this problem.  
For anyone confused, when DJMarii\_ says **file** , read **folder** so:  
Navigate to your project folder, then Intermediate/Source folder and delete all files referencing the wrong project title.

This is likely to happen after cloning the project into a new one.

---

<div class="post-metadata">

**Author:** ![1986Eternal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@1986Eternal](https://forums.unrealengine.com/u/1986Eternal)\
**Post date:** [December 13, 2024, 10:05pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/7 "2024-12-13T22:05:59Z")

</div>

Hey, thanks a lot! This worked like a charm!

---

<div class="post-metadata">

**Author:** ![vengaunt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vengaunt/32/985377_2.png) [@vengaunt](https://forums.unrealengine.com/u/vengaunt)\
**Post date:** [December 26, 2024, 1:05am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/8 "2024-12-26T01:05:21Z")

</div>

Also logged in to say thank you. Life save.

---

<div class="post-metadata">

**Author:** ![OkItsTheChris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OkItsTheChris](https://forums.unrealengine.com/u/OkItsTheChris)\
**Post date:** [December 31, 2024, 7:42pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/9 "2024-12-31T19:42:17Z")

</div>

Thanks mate! Life saver! \<3

---

<div class="post-metadata">

**Author:** ![liquidized106](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liquidized106](https://forums.unrealengine.com/u/liquidized106)\
**Post date:** [January 7, 2025, 8:11pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/10 "2025-01-07T20:11:59Z")

</div>

That! Thank you!

---

<div class="post-metadata">

**Author:** ![Pseud0nymus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pseud0nymus](https://forums.unrealengine.com/u/Pseud0nymus)\
**Post date:** [May 9, 2025, 3:01am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/11 "2025-05-09T03:01:57Z")

</div>

Just jumping in and saying TYVM also. If you renamed a project and get cook/build error, follow this and delete all the old project references in the source folder

---

<div class="post-metadata">

**Author:** ![Panda\_Monarch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Panda\_Monarch](https://forums.unrealengine.com/u/Panda_Monarch)\
**Post date:** [May 9, 2025, 10:58am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/12 "2025-05-09T10:58:31Z")

</div>

Just here to say thanks, it helped solve the problem 👍

---

<div class="post-metadata">

**Author:** ![Soogman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soogman](https://forums.unrealengine.com/u/Soogman)\
**Post date:** [June 1, 2025, 6:49am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/13 "2025-06-01T06:49:31Z")

</div>

This is the correct answer, thank you!

---

<div class="post-metadata">

**Author:** ![karamologie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@karamologie](https://forums.unrealengine.com/u/karamologie)\
**Post date:** [June 16, 2025, 9:55pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/15 "2025-06-16T21:55:39Z")

</div>

thank you bro

---

<div class="post-metadata">

**Author:** ![Nitrox32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nitrox32](https://forums.unrealengine.com/u/Nitrox32)\
**Post date:** [September 10, 2025, 1:25am UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/16 "2025-09-10T01:25:57Z")

</div>

Thank you!!! I have been dealing with getting build crashes with a non-descript “Unknown Error”. This took care of it.

---

<div class="post-metadata">

**Author:** ![ACIKERV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ACIKERV](https://forums.unrealengine.com/u/ACIKERV)\
**Post date:** [December 9, 2025, 5:28pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/17 "2025-12-09T17:28:44Z")

</div>

you are my hero ，thanks

---

<div class="post-metadata">

**Author:** ![Brotdose](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brotdose](https://forums.unrealengine.com/u/Brotdose)\
**Post date:** [March 6, 2026, 12:04pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/18 "2026-03-06T12:04:44Z")

</div>

What a hero

---

<div class="post-metadata">

**Author:** ![ihajilli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ihajilli](https://forums.unrealengine.com/u/ihajilli)\
**Post date:** [June 3, 2026, 9:20pm UTC](https://forums.unrealengine.com/t/project-contains-multiple-game-targets-but-no-defaultgametarget-is-set-in-the-script-buildsettings-buildsettings-section-of-defaultengine-ini/1784526/19 "2026-06-03T21:20:49Z")

</div>

\<3
