Cook Failed, exit code 16384, Android

anonymous_user_94ca926a
Thu, 28 Jan 2021 13:25:00 +0000
Mobile

Since I updated to 4.26 whenever I try to package for Android, I get the following error:

    CommandUtils.Run: Took 5.0844836s to run UE4Editor-Cmd.exe, ExitCode=16384
    InternalUtils.SafeDeleteFile: SafeDeleteFile C:\UnrealEngine\4.26\Engine\Programs\AutomationTool\Saved\Logs\Cook-2021.01.25-20.19.58.txt
    InternalUtils.SafeCopyFile: SafeCopyFile C:\UnrealEngine\4.26\Engine\Programs\AutomationTool\Saved\Cook-2021.01.25-20.19.53.txt C:\UnrealEngine\4.26\Engine\Programs\AutomationTool\Saved\Logs\Cook-2021.01.25-20.19.58.txt
    InternalUtils.SafeDeleteFile: SafeDeleteFile C:\UnrealEngine\4.26\Engine\Programs\AutomationTool\Saved\Cook-2021.01.25-20.19.53.txt
    Log.WriteException: ==============================================================================
    Log.WriteException: ERROR: Cook failed.
    Log.WriteException:        (see C:\UnrealEngine\4.26\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
    Log.WriteException:
    Log.WriteException: CommandletException: Editor terminated with exit code 16384 while running Cook for C:\UnrealEngine\4.26\Projects\MyGame\MyGame.uproject; see log C:\UnrealEngine\4.26\Engine\Programs\AutomationTool\Saved\Logs\Cook-2021.01.25-20.19.58.txt
    Log.WriteException:    at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters, String& DestLogFile) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 424
    Log.WriteException:    at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 237
    Log.WriteException:    at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:line 89
    Log.WriteException:    at Project.Cook(ProjectParams Params) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 247Wrapped by AutomationException: Cook failed.
    Log.WriteException:    at Project.Cook(ProjectParams Params) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:line 259
    Log.WriteException:    at BuildCookRun.DoBuildCookRun(ProjectParams Params) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 199
    Log.WriteException:    at BuildCookRun.ExecuteBuild() in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 39
    Log.WriteException:    at AutomationTool.BuildCommand.Execute() in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 263
    Log.WriteException:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 539
    Log.WriteException:    at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 509
    Log.WriteException:    at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Program.cs:line 176
    Log.WriteException:    at AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Program.cs:line 88
    Log.WriteException:    at AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 731
    Log.WriteException:    at AutomationTool.Program.Main(String[] Arguments) in C:\UnrealEngine\4.26\Engine\Source\Programs\AutomationTool\Program.cs:line 88
    Log.WriteException: ==============================================================================
    Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

There is no additional error in the whole building process.

Is there any way to debug this? Can I at least find what the error code means?

I tried deleting the temporary folders of my project without any luck.

2 posts - 2 participants