I seem to have some problem packaging from the editor.
Using build configuration shipping. I end up with this error.
It seems the “Game target” needs to be set. Where can I set that?
MainFrameActions: Packaging (Windows (32-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: Exception in AutomationTool: Game target not found. Game target is required with -cook or -cookonthefly
MainFrameActions: Packaging (Windows (32-bit)): Stacktrace: at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset)
MainFrameActions: Packaging (Windows (32-bit)): at AutomationTool.ProjectParams..ctor(String
MainFrameActions: Packaging (Windows (32-bit)): RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList`1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, Nullable`1 StageNonMonolithic, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 DirectoriesToCook, ParamList`1 CulturesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, Dictionary`2 ClientDependentPlatformMap, List`1 ServerTargetPlatforms, Dictionary`2 ServerDependentPlatformMap, Nullable`1 Build, Nullable`1 Cook, String CookFlavor, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 UseDebugParamForEditorExe, Nullable`1 IterativeCooking, Nullable`1 CookOnTheFly, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 NoXGE, Nullable`1 Package, Nullable`1 Pak, Nullable`1 SignedPak, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 Rocket, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, ParamList`1 ProgramTargets, Nullable`1 Distribution, Nullable`1 OBBinAPK, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds)
MainFrameActions: Packaging (Windows (32-bit)): at BuildCookRun.SetupParams()
MainFrameActions: Packaging (Windows (32-bit)): at BuildCookRun.ExecuteBuild()
MainFrameActions: Packaging (Windows (32-bit)): at BuildCommand.Execute()
MainFrameActions: Packaging (Windows (32-bit)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows (32-bit)): at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (32-bit)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (32-bit)): at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Windows (32-bit)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: Game target not found. Game target is required with -cook or -cookonthefly
MainFrameActions: Packaging (Windows (32-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (32-bit)): Program.Main: AutomationTool exiting with ExitCode=1
MainFrameActions: Packaging (Windows (32-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (32-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (32-bit)): copying UAT log files...
MainFrameActions: Packaging (Windows (32-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Windows (32-bit)): BUILD FAILED