Error on package: Assertion failed: LoadedWorld - LevelActor.cpp - KERNELBASE.dll!UnknownFunction

Hello,

first as info, I play the game in PIE and also as “stand alone” game fine out of UE4 Editor.

But on Package the Game I get the following generic error.

  • I try to package for Windows 64 bit (on a windows 64 bit host)
  • I use SVN and everything is up to date
  • I try a Package for Shipping
  • I cleand up the target folder comlpetle before start to package

Error:
(…no errors found before in the log …)
gWindows: Windows GetLastError: The operation completed successfully. (0)
LogWindows: Error: begin: stack for UAT
LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Assertion failed: LoadedWorld [File:D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\Engine\Private\LevelActor.cpp] [Line: 1173]
LogWindows: Error:
LogWindows: Error:
LogWindows: Error:
LogWindows: Error: [Callstack] 0x00000000B37B3C58 KERNELBASE.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x000000009A7E76D4 UE4Editor-ApplicationCore.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000662D330B UE4Editor-Core.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000662647F9 UE4Editor-Core.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x0000000063A8BC5F UE4Editor-Engine.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x000000006132DA7C UE4Editor-UnrealEd.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000612FF968 UE4Editor-UnrealEd.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x000000006134E2A8 UE4Editor-UnrealEd.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000611E7D61 UE4Editor-UnrealEd.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x000000006120F391 UE4Editor-UnrealEd.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000AC94D25F UE4Editor-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000AC94525A UE4Editor-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000AC9454AA UE4Editor-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000AC952379 UE4Editor-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000AC953193 UE4Editor-Cmd.exe!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000B5F38364 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000B7077091 ntdll.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00000000B7077091 ntdll.dll!UnknownFunction []
LogWindows: Error:
LogWindows: Error: end: stack for UAT
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1)

UAT_Log.txt
(…no errors found before in the log …)

ProcessResult.StdOut: LogWindows: Error: begin: stack for UAT
ProcessResult.StdOut: LogWindows: Error: === Critical error: ===
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error: Assertion failed: LoadedWorld [File:D:\Build++UE4+Release-
4.18+Compile\Sync\Engine\Source\Runtime\Engine\Private\LevelActor.cpp] [Line: 1173]

ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000B37B3C58 KERNELBASE.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x000000009A7E76D4 UE4Editor-ApplicationCore.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000662D330B UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000662647F9 UE4Editor-Core.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x0000000063A8BC5F UE4Editor-Engine.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x000000006132DA7C UE4Editor-UnrealEd.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000612FF968 UE4Editor-UnrealEd.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x000000006134E2A8 UE4Editor-UnrealEd.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000611E7D61 UE4Editor-UnrealEd.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x000000006120F391 UE4Editor-UnrealEd.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000AC94D25F UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000AC94525A UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000AC9454AA UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000AC952379 UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000AC953193 UE4Editor-Cmd.exe!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000B5F38364 KERNEL32.DLL!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000B7077091 ntdll.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error: [Callstack] 0x00000000B7077091 ntdll.dll!UnknownFunction []
ProcessResult.StdOut: LogWindows: Error:
ProcessResult.StdOut: LogWindows: Error: end: stack for UAT
CommandUtils.Run: Took 21,9605465s to run UE4Editor-Cmd.exe, ExitCode=3
InternalUtils.SafeDeleteFile: SafeDeleteFile C:\Users\office\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Game_Projects+Unreal+Projects+UE_4.18\Cook-2017.12.19-11.33.01.txt
InternalUtils.SafeCopyFile: SafeCopyFile D:\Game_Projects\Unreal Projects\UE_4.18\Engine\Programs\AutomationTool\Saved\Cook-2017.12.19-11.32.39.txt C:\Users\office\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Game_Projects+Unreal+Projects+UE_4.18\Cook-2017.12.19-11.33.01.txt
InternalUtils.SafeDeleteFile: SafeDeleteFile D:\Game_Projects\Unreal Projects\UE_4.18\Engine\Programs\AutomationTool\Saved\Cook-2017.12.19-11.32.39.txt
Project.Cook: Cook failed. Deleting cooked data.
ExceptionUtils.PrintExceptionInfo: ==============================================================================
ExceptionUtils.PrintExceptionInfo: ERROR: Cook failed.
ExceptionUtils.PrintExceptionInfo: (see C:\Users\office\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Game_Projects+Unreal+Projects+UE_4.18\UAT_Log.txt for full exception trace)
ExceptionUtils.PrintExceptionInfo:
ExceptionUtils.PrintExceptionInfo: CommandletException: Editor terminated with exit code 3 while running Cook for D:\Game_Projects\Unreal Projects\Project_x_1 4.18\Project_x_1.uproject; see log C:\Users\office\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Game_Projects+Unreal+Projects+UE_4.18\Cook-2017.12.19-11.33.01.txt
ExceptionUtils.PrintExceptionInfo: at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters)
ExceptionUtils.PrintExceptionInfo: at Project.Cook(ProjectParams Params)
ExceptionUtils.PrintExceptionInfo: Wrapped by AutomationException: Cook failed.
ExceptionUtils.PrintExceptionInfo: at Project.Cook(ProjectParams Params)
ExceptionUtils.PrintExceptionInfo: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
ExceptionUtils.PrintExceptionInfo: at BuildCookRun.ExecuteBuild()
ExceptionUtils.PrintExceptionInfo: at AutomationTool.BuildCommand.Execute()
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Automation.Execute(List1 CommandsToExecute, Dictionary2 Commands)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Automation.Process(String[] Arguments)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Program.MainProc(Object Param)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
ExceptionUtils.PrintExceptionInfo: at AutomationTool.Program.Main()
ExceptionUtils.PrintExceptionInfo: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

Any idea what I could try next or any idea what I can do to fix it directly?

Thanks a lot and best regards
TheFlow

Edit:
I tried more configurations for packaging and also trying development/debug package, but it will come back to the same error. I also tried deleting Intermediate/build/binaries/config folders and rebuild. But same error on packaging every time. How do I analyze what is the real problem?

I tried more configurations for packaging and also trying development/debug package, but it will come back to the same error. I also tried deleting Intermediate/build/binaries/config folders and rebuild. But same error on packaging every time. How do I analyze what is the real problem?

I’m getting the same error. I’ll let you know if I find a solution. Project was working a week ago and the only major thing I think I added was a bunch of Paragon asset files and level streaming.

K, so I deleted all the paragon Assets. It packages now.

thank you,it solve my problem