Download

Unknown Cook Failure - Help Needed

Hi all,

I am consistently having this errors while trying for packaging.

UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Packaging (Windows (64-bit)): (see C:\Users********\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure

####################Previously I had this errors################

LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: false [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/SoundWave.cpp] [Line: 1203]
LogOutputDevice: Error: Call CachePlatformData(false) before calling this function in editor. GetNumChunks() called on: trafficsound
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffd03e79646 UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0343a85d UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd02b186e9 UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0389aecd UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d90ae84 UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d8e22fd UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d8b6b6a UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d8e1ef1 UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d8e22fd UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d8e1704 UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d652604 UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd1d8e0e63 UE4Editor-CoreUObject.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd023dc435 UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd023aaff7 UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd023b443c UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0378ec42 UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd02b05fa1 UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0373344e UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd02b27f8d UE4Editor-Engine.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0117a1a5 UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0119cd6f UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd0117aedd UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd011b8c42 UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd011bc1d1 UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd011bba98 UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd00c18c38 UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffd015350e6 UE4Editor-UnrealEd.dll!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c3279bc2 UE4Editor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c329117c UE4Editor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c329125a UE4Editor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c32a52bd UE4Editor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ff6c32a7fea UE4Editor.exe!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffdb07c7034 KERNEL32.DLL!UnknownFunction []
LogOutputDevice: Error: [Callstack] 0x00007ffdb1582651 ntdll.dll!UnknownFunction []

Has anyone a clue?
Thanks.

Just receive a new log after I disable some plugins,

UATHelper: Packaging (Windows (64-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): Running: C:\Program Files\Epic Games\UE_4.26\Engine\Binaries\DotNET\UnrealBuildTool.exe HSG Win64 Development -Project=“C:\Users\User\Documents\Unreal Projects\HSG\HSG.uproject” “C:\Users\User\Documents\Unreal Projects\HSG\HSG.uproject” -NoUBTMakefiles -remoteini=“C:\Users\User\Documents\Unreal Pro
jects\HSG” -skipdeploy -distribution -Manifest=“C:\Users\User\Documents\Unreal Projects\HSG\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\UBT-HSG-Win64-Development.txt”
UATHelper: Packaging (Windows (64-bit)): While compiling C:\Program Files\Epic Games\UE_4.26\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
UATHelper: Packaging (Windows (64-bit)): error CS0042: Unexpected error creating debug information file ‘c:\Program Files\Epic Games\UE_4.26\Engine\Intermediate\Build\BuildRules\UE4Rules.PDB’ – 'c:\Program Files\Epic Games\UE_4.26\Engine\Intermediate\Build\BuildRules\UE4Rules.pdb: Access is denied.
UATHelper: Packaging (Windows (64-bit)): ERROR: Unable to compile source files.
PackagingResults: Error: Unable to compile source files.
UATHelper: Packaging (Windows (64-bit)): Took 1.6148471s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool failed. See log for more details. (C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.26\UBT-HSG-Win64-Development.txt)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

Sounds like there is a problem with your “trafficsound” asset.

Bad permissions, maybe?

Can be for traffic sound, I removed it completely and run again.

Why the bad permission show up?

Well actually I found the solution,
I cooked all project firstly, and then package it by changing the package mode to shipping. Even it gave me an error with packaging, I found the packaged project on the directory with an exe file. I am able to open exe file without a problem.

Thanks for your reply.