[=dmo9001;221835]
I’ve run into a problem after upgrading from 4.7 preview2 to preview7, has anyone seen error below when trying to “Cook Content for Windows”. Is packaging broken for Windows in Preview 7?
I get error both with my own project and when I have created a new project using First-Person shooter template:
MainFrameActions: Cooking (Windows): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Documents\Unreal Projects\Test_Compile\Test_Compile.uproject
MainFrameActions: Cooking (Windows): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Cooking (Windows): Program.: ERROR: AutomationTool terminated with exception:
MainFrameActions: Cooking (Windows): Program.: ERROR: Exception in mscorlib: Requested value ‘WindowsNoEditor’ was not found.
MainFrameActions: Cooking (Windows): Stacktrace: at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
MainFrameActions: Cooking (Windows): at System.Enum.Parse(Type enumType, Strin
MainFrameActions: Cooking (Windows): g value, Boolean ignoreCase)
MainFrameActions: Cooking (Windows): at AutomationTool.ProjectParams.SetupTargetPlatforms(Dictionary2& DependentPlatformMap, CommandUtils Command, List
1 OverrideTargetPlatforms, List1 DefaultTargetPlatforms, Boolean AllowPlatformParams, String] PlatformParamNames) MainFrameActions: Cooking (Windows): at AutomationTool.ProjectParams..ctor(String RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList
1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, Nullable1 StageNonMonolithic, String UE4Exe, String SignPak, List
1 ClientConfigsToBuild, List1 ServerConfigsToBuild, ParamList
1 MapsToCook, ParamList1 DirectoriesToCook, String InternationalizationPreset, ParamList
1 CulturesToCook, ParamList1 ClientCookedTargets, ParamList
1 EditorTargets, ParamList1 ServerCookedTargets, List
1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List
1 ServerTargetPlatforms, Dictionary2 ServerDependentPlatformMap, Nullable
1 Build, Nullable1 Cook, String CookFlavor, Nullable
1 Run, Nullable1 SkipServer, Nullable
1 Clean, Nullable1 Compressed, Nullable
1 UseDebugParamForEditorExe, Nullable1 IterativeCooking, Nullable
1 CookOnTheFly, Nullable1 CookOnTheFlyStreaming, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, String DLCName, Nullable
1 NewCook, Nullable1 CrashReporter, Nullable
1 DedicatedServer, Nullable1 Client, Nullable
1 Deploy, Nullable1 FileServer, Nullable
1 Foreign, Nullable1 ForeignCode, Nullable
1 LogWindow, Nullable1 NoCleanStage, Nullable
1 NoClient, Nullable1 NoDebugInfo, Nullable
1 NoXGE, Nullable1 Package, Nullable
1 Pak, Nullable1 Prereqs, Nullable
1 NoBootstrapExe, Nullable1 SignedPak, Nullable
1 NullRHI, Nullable1 FakeClient, Nullable
1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable
1 CrashIndex, Nullable1 Rocket, Nullable
1 SkipCook, Nullable1 SkipCookOnTheFly, Nullable
1 SkipPak, Nullable1 SkipStage, Nullable
1 Stage, Nullable1 Manifests, Nullable
1 CreateChunkInstall, Nullable1 Unattended, Nullable
1 NumClients, Nullable1 Archive, String ArchiveDirectoryParam, Nullable
1 ArchiveMetaData, ParamList1 ProgramTargets, Nullable
1 Distribution, Nullable1 Prebuilt, Nullable
1 RunTimeoutSeconds, String OverrideMinimumOS, Nullable1 IterativeDeploy) MainFrameActions: Cooking (Windows): at BuildCookRun.SetupParams() MainFrameActions: Cooking (Windows): at BuildCookRun.ExecuteBuild() MainFrameActions: Cooking (Windows): at BuildCommand.Execute() MainFrameActions: Cooking (Windows): at AutomationTool.Automation.Execute(List
1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Cooking (Windows): at AutomationTool.Automation.Process(String] CommandLine)
MainFrameActions: Cooking (Windows): at AutomationTool.Program.MainProc( )
MainFrameActions: Cooking (Windows): at AutomationTool.InternalUtils.RunSingleInstance(MainProc , )
MainFrameActions: Cooking (Windows): at AutomationTool.Program.()
MainFrameActions: Cooking (Windows): Program.: ERROR: Requested value ‘WindowsNoEditor’ was not found.
MainFrameActions: Cooking (Windows): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Cooking (Windows): Program.: AutomationTool exiting with ExitCode=1
MainFrameActions: Cooking (Windows): Domain_ProcessExit
MainFrameActions: Cooking (Windows): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Cooking (Windows): copying UAT log files…
MainFrameActions: Cooking (Windows): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Cooking (Windows): BUILD FAILED
[/]
Hmmm… no problem here. Are you using File | Package | Windows (64-bit), and are you on , 8, 10? I’m on 8.1 and I just ran that successfully. You might have a with your mono installation perhaps.
.