x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

how to fix "(Error_UnknownCookFailure)"

I have a problem with packaging,

I got an unknown error,

  • tried to delete the saved and intermediate folder

  • migrate to another free project

  • template projects packaged sucessfully incase u are wondering

please check the log file below

Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="O:/02 - Unreal Engine/00 Team Folder/00 Michael/VR_Master_Bedroom/20181107/MasterBedroomVR/MasterBedroomVR.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="O:/02 - Unreal Engine/00 Team Folder/00 Michael/VR_Master_Bedroom/20181107/MasterBedroomVR/MasterBedroomVR.uproject" -cook -stage -archive -archivedirectory="O:/02 - Unreal Engine/00 Team Folder/00 Michael/VR_Master_Bedroom/20181107/MasterBedroomVR/Game/01" -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -utf8output Automation.Process: Setting up command environment. InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\DotNET\AutomationTool.exe=True InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT= InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT= InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder= CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_4.20/Engine/Programs/AutomationTool/Saved InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_4.20/Engine/Programs/AutomationTool/Saved InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_CSVFile= InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LogFolder= InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_LOCAL_ROOT=C:/Program Files/Epic Games/UE_4.20 CommandUtils.SetEnvVar: SetEnvVar uebp_LogFolder=C:/Users/BOXX/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_4.20 InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\BOXX\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\Log.txt InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_FinalLogFolder= CommandUtils.SetEnvVar: SetEnvVar uebp_FinalLogFolder=C:/Users/BOXX/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_4.20 InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\robocopy.exe=True InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\mount.exe=False InternalUtils.SafeFileExists: SafeFileExists C:\Windows\Sysnative\mount.exe=False InternalUtils.SafeFileExists: SafeFileExists C:\Windows\system32\cmd.exe=True CommandUtils.SetEnvVar: SetEnvVar MallocNanoZone=0 InternalUtils.GetEnvironmentVariable: GetEnvironmentVariable uebp_UATChildInstance=0 InternalUtils.SafeFileExists: SafeFileExists O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject=True InternalUtils.SafeFileExists: SafeFileExists O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject=True BuildCookRun.SetupParams: Setting up ProjectParams for O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject ProjectParams.ValidateAndLog: Project Params ProjectParams.ValidateAndLog: AdditionalServerMapParams= ProjectParams.ValidateAndLog: Archive=True ProjectParams.ValidateAndLog: ArchiveMetaData=False ProjectParams.ValidateAndLog: CreateAppBundle=True ProjectParams.ValidateAndLog: BaseArchiveDirectory=O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\Game\01 ProjectParams.ValidateAndLog: BaseStageDirectory=O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\Saved\StagedBuilds ProjectParams.ValidateAndLog: Build=False ProjectParams.ValidateAndLog: SkipBuildClient=False ProjectParams.ValidateAndLog: SkipBuildEditor=False ProjectParams.ValidateAndLog: Cook=True ProjectParams.ValidateAndLog: Clean= ProjectParams.ValidateAndLog: Client=False ProjectParams.ValidateAndLog: ClientConfigsToBuild=Development ProjectParams.ValidateAndLog: ClientCookedTargets=UE4Game ProjectParams.ValidateAndLog: ClientTargetPlatform=Win64 ProjectParams.ValidateAndLog: Compressed=False ProjectParams.ValidateAndLog: AdditionalPakOptions= ProjectParams.ValidateAndLog: UseDebugParamForEditorExe=False ProjectParams.ValidateAndLog: CookOnTheFly=False ProjectParams.ValidateAndLog: CookOnTheFlyStreaming=False ProjectParams.ValidateAndLog: UnversionedCookedContent=True ProjectParams.ValidateAndLog: SkipCookingEditorContent=False ProjectParams.ValidateAndLog: NumCookersToSpawn=0 ProjectParams.ValidateAndLog: GeneratePatch=False ProjectParams.ValidateAndLog: AddPatchLevel=False ProjectParams.ValidateAndLog: StageBaseReleasePaks=False ProjectParams.ValidateAndLog: GenerateRemaster=False ProjectParams.ValidateAndLog: DiscVersion= ProjectParams.ValidateAndLog: CreateReleaseVersion= ProjectParams.ValidateAndLog: BasedOnReleaseVersion= ProjectParams.ValidateAndLog: DLCFile= ProjectParams.ValidateAndLog: DLCIncludeEngineContent=False ProjectParams.ValidateAndLog: DLCPakPluginFile=False ProjectParams.ValidateAndLog: DiffCookedContentPath= ProjectParams.ValidateAndLog: AdditionalCookerOptions= ProjectParams.ValidateAndLog: DedicatedServer=False ProjectParams.ValidateAndLog: DirectoriesToCook= ProjectParams.ValidateAndLog: CulturesToCook= (Use Defaults) ProjectParams.ValidateAndLog: EditorTargets= ProjectParams.ValidateAndLog: Foreign=False ProjectParams.ValidateAndLog: IsCodeBasedProject=False ProjectParams.ValidateAndLog: IsProgramTarget=False ProjectParams.ValidateAndLog: IterativeCooking=False ProjectParams.ValidateAndLog: IterateSharedCookedBuild= ProjectParams.ValidateAndLog: IterateSharedBuildUsePrecompiledExe=False ProjectParams.ValidateAndLog: CookAll=False ProjectParams.ValidateAndLog: CookPartialGC=False ProjectParams.ValidateAndLog: CookInEditor=False ProjectParams.ValidateAndLog: CookMapsOnly=False ProjectParams.ValidateAndLog: Deploy=False ProjectParams.ValidateAndLog: IterativeDeploy=False ProjectParams.ValidateAndLog: FastCook=False ProjectParams.ValidateAndLog: LogWindow=False ProjectParams.ValidateAndLog: Manifests=False ProjectParams.ValidateAndLog: MapToRun= ProjectParams.ValidateAndLog: NoClient=False ProjectParams.ValidateAndLog: NumClients=0 ProjectParams.ValidateAndLog: NoDebugInfo=True ProjectParams.ValidateAndLog: SeparateDebugInfo=False ProjectParams.ValidateAndLog: MapFile=False ProjectParams.ValidateAndLog: NoCleanStage=False ProjectParams.ValidateAndLog: NoXGE=False ProjectParams.ValidateAndLog: MapsToCook= ProjectParams.ValidateAndLog: MapIniSectionsToCook= ProjectParams.ValidateAndLog: Pak=True ProjectParams.ValidateAndLog: Package=True ProjectParams.ValidateAndLog: ForcePackageData=False ProjectParams.ValidateAndLog: NullRHI=False ProjectParams.ValidateAndLog: FakeClient=False ProjectParams.ValidateAndLog: EditorTest=False ProjectParams.ValidateAndLog: RunAutomationTests=False ProjectParams.ValidateAndLog: RunAutomationTest= ProjectParams.ValidateAndLog: RunTimeoutSeconds=0 ProjectParams.ValidateAndLog: CrashIndex=0 ProjectParams.ValidateAndLog: ProgramTargets= ProjectParams.ValidateAndLog: ProjectPlatformBinariesPaths=[Win64, C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\Win64] ProjectParams.ValidateAndLog: ProjectExePaths=[Win64, C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\Win64\UE4Game.exe] ProjectParams.ValidateAndLog: Distribution=False ProjectParams.ValidateAndLog: Prebuilt=False ProjectParams.ValidateAndLog: Prereqs=True ProjectParams.ValidateAndLog: AppLocalDirectory= ProjectParams.ValidateAndLog: NoBootstrapExe=False ProjectParams.ValidateAndLog: RawProjectPath=O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject ProjectParams.ValidateAndLog: Run=False ProjectParams.ValidateAndLog: ServerConfigsToBuild=Development ProjectParams.ValidateAndLog: ServerCookedTargets= ProjectParams.ValidateAndLog: ServerTargetPlatform=Win64 ProjectParams.ValidateAndLog: ShortProjectName=MasterBedroomVR ProjectParams.ValidateAndLog: SignedPak=False ProjectParams.ValidateAndLog: SignPak= ProjectParams.ValidateAndLog: SkipCook=False ProjectParams.ValidateAndLog: SkipCookOnTheFly=False ProjectParams.ValidateAndLog: SkipPak=False ProjectParams.ValidateAndLog: PrePak=False ProjectParams.ValidateAndLog: SkipStage=False ProjectParams.ValidateAndLog: Stage=True ProjectParams.ValidateAndLog: bTreatNonShippingBinariesAsDebugFiles=False ProjectParams.ValidateAndLog: bUseExtraFlavor=False ProjectParams.ValidateAndLog: NativizeAssets=False ProjectParams.ValidateAndLog: StageDirectoryParam= ProjectParams.ValidateAndLog: Project Params InternalUtils.SafeFileExists: SafeFileExists O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject=True InternalUtils.SafeFileExists: SafeFileExists O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject=True InternalUtils.SafeFileExists: SafeFileExists O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject=True InternalUtils.SafeFileExists: SafeFileExists O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject=True Project.Cook: COOK COMMAND STARTED InternalUtils.SafeFileExists: SafeFileExists C:\Program Files\Epic Games\UE_4.20\Engine\Binaries\Win64\UE4Editor-Cmd.exe=True CommandUtils.RunCommandlet: Running UE4Editor Cook for project O:\02 - Unreal Engine\00 Team Folder\00 Michael\VR_Master_Bedroom\20181107\MasterBedroomVR\MasterBedroomVR.uproject <>c.b_4_1: ============================================================================== <>c.b4_0: ERROR: Cook failed. <>c.b4_0: (see C:\Users\BOXX\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.20\Log.txt for full exception trace) <>c.b4_1: <>c.b4_1: UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\UE_4.20\Engine\Programs\AutomationTool\Saved\Cook-2018.11.07-13.24.47.txt' is denied. <>c.b4_1: at System.IO.Error.WinIOError(Int32 errorCode, String maybeFullPath) <>c.b4_1: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) <>c.b4_1: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) <>c.b4_1: at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) <>c.b4_1: at AutomationTool.LogUtils.GetUniqueLogName(String Base) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\LogUtils.cs:line 110 <>c.b4_1: at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 254 <>c.b4_1: at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 91 <>c.b4_1: at Project.Cook(ProjectParams Params) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 257 <>c.b4_1: Wrapped by AutomationException: Cook failed. <>c.b4_1: at Project.Cook(ProjectParams Params) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 271 <>c.b4_1: at BuildCookRun.DoBuildCookRun(ProjectParams Params) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 209 <>c.b4_1: at BuildCookRun.ExecuteBuild() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 41 <>c.b4_1: at AutomationTool.BuildCommand.Execute() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 112 <>c.b4_1: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 562 <>c.b4_1: at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 532 <>c.b4_1: at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 174 <>c.b4_1: at AutomationTool.Program.<>cDisplayClass1_0.b0() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 100 <>c.b4_1: at AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 725 <>c.b4_1: at AutomationTool.Program.Main() in D:\Build++UE4\Sync\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:line 100 <>c.b_4_1: ============================================================================== Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Product Version: UE 4.20
Tags:
more ▼

asked Nov 07 '18 at 12:45 PM in Packaging & Deployment

avatar image

Mickey_1010
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question