I recently got a new machine and am trying to set up my development environment for UE5. Unfortunately, I am unable to Cook content. This is not specific to an engine version or a project. To test, I created a blank blueprint project using 5.3 and attempted to cook. Here is the log of the failure:
Script Stack (0 frames) :
LogWindows: Error: appError called: Assertion failed: CurrentApplication.IsValid() [File:D:\build++UE5\Sync\LocalInstall\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 255]
LogWindows: Error: begin: stack for UAT
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Assertion failed: CurrentApplication.IsValid() [File:D:\build++UE5\Sync\LocalInstall\Engine\Source\Runtime\Slate\Public\Framework\Application\SlateApplication.h] [Line: 255]
LogWindows: Error:
LogWindows: Error:
LogWindows: Error:
LogWindows: Error: [Callstack] 0x000001a592d9ad96 UnrealEditor-Fab.dll!FFabBrowser::RegisterSlateStyle() [D:\build++UE5\Sync\LocalBuilds\Fab\0.0.1\HostProject\Plugins\Fab\Source\Fab\Private\FabBrowser.cpp:98]
LogWindows: Error: [Callstack] 0x000001a592da725a UnrealEditor-Fab.dll!FFabModule::StartupModule() [D:\build++UE5\Sync\LocalBuilds\Fab\0.0.1\HostProject\Plugins\Fab\Source\Fab\Private\FabModule.cpp:35]
LogWindows: Error: [Callstack] 0x00007ffdcffd5954 UnrealEditor-Core.dll!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ffe295587ee UnrealEditor-Projects.dll!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ffe295756c3 UnrealEditor-Projects.dll!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ffe2955801a UnrealEditor-Projects.dll!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e2ff2591 UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e2ff634f UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e2fecfb6 UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e2fed37a UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e2ff0854 UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e3006984 UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ff6e3008eb6 UnrealEditor-Cmd.exe!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ffe5d25257d KERNEL32.DLL!UnknownFunction
LogWindows: Error:
LogWindows: Error: end: stack for UAT
Took 14.70s to run UnrealEditor-Cmd.exe, ExitCode=3
SafeDeleteFile C:\Users\robko\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\Cook-2024.10.26-22.00.19.txt
SafeCopyFile C:\Program Files\Epic Games\UE_5.3\Engine\Programs\AutomationTool\Saved\Cook-2024.10.26-22.00.04.txt C:\Users\robko\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\Cook-2024.10.26-22.00.19.txt
SafeDeleteFile C:\Program Files\Epic Games\UE_5.3\Engine\Programs\AutomationTool\Saved\Cook-2024.10.26-22.00.04.txt
Cook failed.
(see C:\Users\robko\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\Log.txt for full exception trace)
CommandletException: Editor terminated with exit code 3 while running Cook for C:\Users\robko\OneDrive\Desktop\cookblank\cookblank.uproject; see log C:\Users\robko\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\Cook-2024.10.26-22.00.19.txt
at AutomationTool.CommandUtils.FinishRunCommandlet(FileReference ProjectName, String Commandlet, DateTime StartTime, IProcessResult RunResult, String LocalLogFile, String& DestLogFile, UInt32 ErrorLevel) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 472
at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UnrealExe, String Maps, String Dirs, String InternationalizationPreset, String CulturesToCook, String TargetPlatform, String Parameters) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 93
at AutomationScripts.Project.Cook(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 292Wrapped by AutomationException: Cook failed.
at AutomationScripts.Project.Cook(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 302
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 235
at BuildCookRun.ExecuteBuild() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
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 17s
AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)