Exit Code = 25 [Error Packaging for Windows]

Hello,

When Extracting the exe it gives the following error. Tried to figured it out but no luck for me. Here is the OutputLog

link to log file

PackagingResults:Warning: Warning Warning Unable to find package for cooking /Game/LandscapeAutoMaterial/Materials/Water/Wat er_M
OCULUS: Info: [HMDState] Requested to SetForegroundWindow(2f0ba4ll)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Execution of commandlet took: 1491.33 seconds
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1496.0725345s to run UE4Editor-Cmd.exe, ExitCode=1
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for F:\UE Project Backup\CykoolDemoReady\Cykool\Cykool.uproject; see log C:\Users\The Project Learn\AppData\Roaming\Unr
eal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+4.11\Cook-2016.11.21-21.05.45.txt
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
MainFrameActions: Packaging (Windows (64-bit)): at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): — End of inner exception stack trace —
MainFrameActions: Packaging (Windows (64-bit)): at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files…
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure
LogRenderer: Reallocating scene render targets to support 1448x472 (Frame:16).
LogBlueprintUserMessages: Early PlayInEditor Detection: Level ‘/Game/Maps/TestMap.TestMap:PersistentLevel’ has LevelScriptBlueprint ‘/Game/Maps/TestMap.TestMap:PersistentLevel.TestMap’ with GeneratedClass ‘/Game/Maps/TestMap.TestMap_C’ with ClassGeneratedBy ‘/Game/Maps/TestMap.TestMap:PersistentLevel.TestMap’

Hi kodusu,

Looking at the full log you linked above shows that you have a lot of missing content and warnings about this that you’ll need to resolve in order to package correctly.

Have a look at the log pointed to here for full details: C:\Users\The Project Learn\AppData\Roaming\Unr eal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+4.11\Cook-2016.11.21-21.05.45.txt

Once you resolve these issues that should clear up this portion of the packaging process, though there could be other packaging errors that may occur depending on the issue it presents.

If this content is no longer in your project you should make sure to clean up the redirectors that reference these assets. This documentation should help you if you’re not familiar with the process: https://docs.unrealengine.com/latest/INT/Engine/Basics/Redirectors/

-Tim