Assertion failed: GetAllPackageFilenamesFromAssetRegistry

I just renamed my Project Launcher Profile and now i getting this errors

ProcessResult.StdOut:   LogStreaming: Warning: Failed to read file '../../../../On_The_Verge_II/Releases/1.0.0/WindowsNoEditor/AssetRegistry.bin' error.
    ProcessResult.StdOut:   LogOutputDevice: Warning:
    ProcessResult.StdOut:   
    ProcessResult.StdOut:   Script Stack (0 frames):
    ProcessResult.StdOut:   
    ProcessResult.StdOut:   LogWindows: Error: begin: stack for UAT
    ProcessResult.StdOut:   LogWindows: Error: === Critical error:
===
    ProcessResult.StdOut:   LogWindows: Error:
    ProcessResult.StdOut:   LogWindows: Error: Assertion failed: GetAllPackageFilenamesFromAssetRegistry(OriginalAssetRegistryPath, PackageFiles) [File:D:\Build\++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp] [Line: 6957]
    ProcessResult.StdOut:   LogWindows: Error:
    ProcessResult.StdOut:   LogWindows: Error:
    ProcessResult.StdOut:   LogWindows: Error:
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffacf189129 KERNELBASE.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffa8b86cd1a UE4Editor-Core.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffa8b64a967 UE4Editor-Core.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffa8b580df7 UE4Editor-Core.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffa89068dbb UE4Editor-UnrealEd.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffa88eca51d UE4Editor-UnrealEd.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffa88efd0bf UE4Editor-UnrealEd.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff6ab5eed22 UE4Editor-Cmd.exe!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff6ab5e5783 UE4Editor-Cmd.exe!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff6ab5e59ea UE4Editor-Cmd.exe!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff6ab5f48da UE4Editor-Cmd.exe!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ff6ab5f584e UE4Editor-Cmd.exe!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffacfc37974 KERNEL32.DLL!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error: [Callstack] 0x00007ffad255a271 ntdll.dll!UnknownFunction []
    ProcessResult.StdOut:   LogWindows: Error:
    ProcessResult.StdOut:   LogWindows: Error: end: stack for UAT
    CommandUtils.Run: Took 150,373289s to run UE4Editor-Cmd.exe, ExitCode=3
    InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\Surikat229\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UE_4.21\Cook-2019.08.18-11.56.24.txt
    InternalUtils.SafeCopyFile: SafeCopyFile G:\UE_4.21\Engine\Programs\AutomationTool\Saved\Cook-2019.08.18-11.53.53.txt C:\Users\Surikat229\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UE_4.21\Cook-2019.08.18-11.56.24.txt
    InternalUtils.SafeDeleteFile: SafeDeleteFile G:\UE_4.21\Engine\Programs\AutomationTool\Saved\Cook-2019.08.18-11.53.53.txt
    Log.WriteException: ==============================================================================
    Log.WriteException: ERROR: Cook failed.
    Log.WriteException:        (see C:\Users\Surikat229\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UE_4.21\Log.txt for full exception trace)
    Log.WriteException: 
    Log.WriteException: CommandletException: Editor terminated with exit code 3 while running Cook for G:\On_The_Verge_II\On_The_Verge_II.uproject; see log C:\Users\Surikat229\AppData\Roaming\Unreal Engine\AutomationTool\Logs\G+UE_4.21\Cook-2019.08.18-11.56.24.txt
    Log.WriteException:    в AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters, String& DestLogFile) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:строка 424
    Log.WriteException:    в AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:строка 237
    Log.WriteException:    в AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandletUtils.cs:строка 89
    Log.WriteException:    в Project.Cook(ProjectParams Params) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:строка 249Wrapped by AutomationException: Cook failed.
    Log.WriteException:    в Project.Cook(ProjectParams Params) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\CookCommand.Automation.cs:строка 263
    Log.WriteException:    в BuildCookRun.DoBuildCookRun(ProjectParams Params) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:строка 209
    Log.WriteException:    в BuildCookRun.ExecuteBuild() в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:строка 41
    Log.WriteException:    в AutomationTool.BuildCommand.Execute() в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:строка 242
    Log.WriteException:    в AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:строка 563
    Log.WriteException:    в AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:строка 533
    Log.WriteException:    в AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:строка 173
    Log.WriteException:    в AutomationTool.Program.<>c__DisplayClass1_0.<Main>b__2() в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:строка 99
    Log.WriteException:    в AutomationTool.InternalUtils.RunSingleInstance(Func`1 Main) в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:строка 725
    Log.WriteException:    в AutomationTool.Program.Main() в D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Program.cs:строка 99
    Log.WriteException: ==============================================================================
    Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

What is reason for this? I can’t compile my game ;(((

3 Likes

Did you ever figure this out?

1 Like

I also got this error when “Create a release version of the game for distribution” was enabled.

Update - my issue was that I needed to delete the value in “Release version this is based on” because I don’t have any build to base it on.