Description

Packaged games are unable to open when Event Driven Loader is disabled. The error message given is:

 Assertion failed: !Linker->GetSerializeContext() [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 1358] 

Regression?: Yes
This does not occur in 4.21
This occurs in 4.22, 4.22.1 and Dev-Main CL#6091832

Steps to Reproduce
  1. Create a new project
  2. Disable Event Driven Loader in the Project Settings
  3. Package the project for Windows 64-bit
  4. Run the packaged game
    Results: The packaged game fails to open with an error message (see Description)
    Expected: The packaged game opens without any errors
Callstack
[2019.04.26-16.51.24:037][  0]LogWindows: Error: Assertion failed: !Linker->GetSerializeContext() [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 1358] 
[2019.04.26-16.51.24:037][  0]LogWindows: Error: 
[2019.04.26-16.51.24:037][  0]LogWindows: Error: 
[2019.04.26-16.51.24:037][  0]LogWindows: Error: 
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000007fefd72be0d KERNELBASE.dll!UnknownFunction []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001403e84e7 UE4Game.exe!ReportAssert() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001403eaec3 UE4Game.exe!FWindowsErrorOutputDevice::Serialize() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001402167da UE4Game.exe!FOutputDevice::LogfImpl() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001401a3819 UE4Game.exe!FDebug::AssertFailed() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001401a3ba9 UE4Game.exe!FDebug::CheckVerifyFailedImpl() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x0000000140691d68 UE4Game.exe!LoadPackageInternal() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001406910a5 UE4Game.exe!LoadPackage() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000000014069e55d UE4Game.exe!ResolveName() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001406a5561 UE4Game.exe!StaticLoadObjectInternal() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001406a5a3f UE4Game.exe!StaticLoadObjectInternal() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001406a4b16 UE4Game.exe!StaticLoadObject() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x0000000141f4d7b4 UE4Game.exe!FAnimationUtils::GetDefaultAnimationCurveCompressionSettings() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x0000000141fa6945 UE4Game.exe!UAnimSequence::UAnimSequence() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001404bd6fd UE4Game.exe!UClass::CreateDefaultObject() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x00000001406a7d25 UE4Game.exe!UObjectForceRegistration() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x0000000140697f7c UE4Game.exe!ProcessNewlyLoadedUObjects() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000000013fb69c8d UE4Game.exe!FEngineLoop::PreInit() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000000013fb62336 UE4Game.exe!GuardedMain() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000000013fb625aa UE4Game.exe!GuardedMainWrapper() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000000013fb70863 UE4Game.exe!WinMain() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x0000000143a56df2 UE4Game.exe!__scrt_common_main_seh() []
[2019.04.26-16.51.24:037][  0]LogWindows: Error: [Callstack] 0x000000007786571d kernel32.dll!UnknownFunction []
[2019.04.26-16.51.24:038][  0]LogWindows: Error: [Callstack] 0x00000000779c385d ntdll.dll!UnknownFunction []
Community References

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-73368 in the post.

18
Login to Vote

Fixed
ComponentUE - Foundation - Core
Affects Versions4.224.23
Target Fix4.22.2
Fix Commit6316372
Main Commit6317275
CreatedApr 26, 2019
ResolvedMay 6, 2019
UpdatedMay 14, 2019