Weird Error?

When i export my game, i got:

UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=D:/MyGame/The_Secret/The_Secret.uproject Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=60268 -project=D:/MyGame/The_Secret/The_Secret.uproject BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=D:/MyGame/The_Secret/The_Secret.uproject -unrealexe=D:\EPIC\UE_5.32\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe -platform=Win64 -installed -stage -archive -package -pak -iostore -compressed -prereqs -archivedirectory=E:/ -clientconfig=Shipping -nodebuginfo -noc
ompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.53 s.
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.26100.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for D:\MyGame\The_Secret\The_Secret.uproject
UATHelper: Packaging (Windows): ********** COOK COMMAND STARTED **********
UATHelper: Packaging (Windows): Running UnrealEditor Cook for project D:\MyGame\The_Secret\The_Secret.uproject
UATHelper: Packaging (Windows): Commandlet log file is D:\EPIC\UE_5.32\UE_5.3\Engine\Programs\AutomationTool\Saved\Cook-2025.07.11-06.26.48.txt
UATHelper: Packaging (Windows): Running: D:\EPIC\UE_5.32\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe “D:\MyGame\The_Secret\The_Secret.uproject” -run=Cook -TargetPlatform=Windows -unversioned -fileopenlog -abslog=“D:\EPIC\UE_5.32\UE_5.3\Engine\Programs\AutomationTool\Saved\Cook-2025.07.11-06.26.48.txt” -stdout -CrashForUAT -unattended -NoLogTimes -UTF8Output
UATHelper: Packaging (Windows): Cook failed.
UATHelper: Packaging (Windows): (see C:\Users\sahar\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+EPIC+UE_5.32+UE_5.3\Log.txt for full exception trace)
UATHelper: Packaging (Windows): Exception performing nothrow action “Kill All Processes”: System.InvalidOperationException: No process is associated with this object.
UATHelper: Packaging (Windows): at System.Diagnostics.Process.EnsureState(State state)
UATHelper: Packaging (Windows): at System.Diagnostics.Process.get_HasExited()
UATHelper: Packaging (Windows): at AutomationTool.ProcessResult.get_HasExited() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 425
UATHelper: Packaging (Windows): at AutomationTool.ProcessManager.KillAll() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 125
UATHelper: Packaging (Windows): at AutomationTool.Automation.<>c.b__5_1() in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 220
UATHelper: Packaging (Windows): at AutomationTool.Automation.NoThrow(Action Action, String ActionDesc) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 235
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 2s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure

idk what is that and my english is bad so its hard to read these for me :slight_smile:

Hello there @user_e4af5306dc3668d4fabcf41c383ef7b774d656501864a7c1c2dd94!

No worries, logs can be a daunting task, thank you for sending the extract. The log shows that the cooking process failed, but the specific reason isn’t clear. The first basic step to help the project would be to clear its cache.

To do that, please close UE, navigate to your project’s directory, and delete the following folders:

  • Saved
  • DerivedDataCache
  • Binaries
  • Intermediate

After that, restart UE, and let it rebuild the files, then test cooking again. If the issue persists, then we will need to check the extended cook log, which should be available here:

D:\EPIC\UE_5.32\UE_5.3\Engine\Programs\AutomationTool\Saved\Cook-2025.07.11-06.26.48.txt

Yep it fixed it thank you!

1 Like