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(List1 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, List1 ClientConfigsToBuild, List
1 ServerConfigsToBuild, ParamList1 MapsToCook, ParamList
1 MapIniSectionsToCook, ParamList1 DirectoriesToCook, String DDCGraph, String InternationalizationPreset, ParamList
1 CulturesToCook, ParamList1 ClientCookedTargets, ParamList
1 EditorTargets, ParamList1 ServerCookedTargets, List
1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List
1 ServerTargetPlatforms, Dictionary2 ServerDependentPlatformMap, List
1 ConfigOverrideParams, Nullable1 Build, Nullable
1 SkipBuildClient, Nullable1 SkipBuildEditor, Nullable
1 Cook, Nullable1 Run, Nullable
1 SkipServer, Nullable1 Clean, Nullable
1 Compressed, Nullable1 ForceUncompressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, String ForceOodleDllVersion, Nullable
1 IterativeCooking, String IterateSharedCookedBuild, Nullable1 IterateSharedBuildUsePrecompiledExe, Nullable
1 CookAll, Nullable1 CookPartialGC, Nullable
1 CookInEditor, String CookOutputDir, Nullable1 CookMapsOnly, Nullable
1 CookOnTheFly, Nullable1 CookOnTheFlyStreaming, Nullable
1 UnversionedCookedContent, Nullable1 OptionalContent, Nullable
1 EncryptIniFiles, Nullable1 EncryptPakIndex, Nullable
1 EncryptEverything, Nullable1 SkipCookingEditorContent, String AdditionalCookerOptions, String OriginalReleaseVersion, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, String ReferenceContainerGlobalFileName, String ReferenceContainerCryptoKeys, Nullable
1 GeneratePatch, Nullable1 AddPatchLevel, Nullable
1 StageBaseReleasePaks, String DiscVersion, String DLCName, String DLCOverrideCookedSubDir, String DLCOverrideStagedSubDir, String DiffCookedContentPath, Nullable1 DLCIncludeEngineContent, Nullable
1 DLCPakPluginFile, Nullable1 DLCActLikePatch, Nullable
1 CrashReporter, Nullable1 DedicatedServer, Nullable
1 Client, Nullable1 Deploy, String DeployFolder, String GetFile, Nullable
1 FileServer, Nullable1 Foreign, Nullable
1 ForeignCode, Nullable1 LogWindow, Nullable
1 NoCleanStage, Nullable1 NoClient, Nullable
1 NoDebugInfo, Nullable1 SeparateDebugInfo, Nullable
1 MapFile, Nullable1 NoXGE, Nullable
1 SkipPackage, Nullable1 NeverPackage, Nullable
1 Package, Nullable1 Pak, Nullable
1 IgnorePaksFromDifferentCookSource, Nullable1 IoStore, Nullable
1 ZenStore, String NoZenAutoLaunch, Nullable1 SkipIoStore, Nullable
1 GenerateOptimizationData, Nullable1 Prereqs, String AppLocalDirectory, Nullable
1 NoBootstrapExe, Nullable1 SignedPak, Nullable
1 PakAlignForMemoryMapping, Nullable1 RehydrateAssets, Nullable
1 NullRHI, Nullable1 FakeClient, Nullable
1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable
1 CrashIndex, Nullable1 SkipCook, Nullable
1 SkipCookOnTheFly, Nullable1 SkipPak, Nullable
1 PrePak, Nullable1 SkipStage, Nullable
1 Stage, Nullable1 Manifests, Nullable
1 CreateChunkInstall, Nullable1 SkipEncryption, Nullable
1 Unattended, Nullable1 NumClients, Nullable
1 Archive, String ArchiveDirectoryParam, Nullable1 ArchiveMetaData, Nullable
1 CreateAppBundle, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList1 ProgramTargets, Nullable
1 Distribution, String PackageEncryptionKeyFile, Nullable1 Prebuilt, Nullable
1 RunTimeoutSeconds, String SpecifiedArchitecture, String ServerArchitecture, String EditorArchitecture, String ClientArchitecture, String ProgramArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable1 IterativeDeploy, Nullable
1 FastCook, Nullable1 IgnoreCookErrors, Nullable
1 CodeSign, Nullable1 TreatNonShippingBinariesAsDebugFiles, Nullable
1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHost, String TraceFile, String SessionLabel, ParamList1 InMapsToRebuildLightMaps, ParamList
1 InMapsToRebuildHLOD, ParamList1 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(List1 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)