Game crashes on start

Need help, help with the solution. My game crashes on startup and I see the following message:

Assertion failed: !Result || Result->LinkerLoad == Linker [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 1054] 



KERNELBASE.dll {0x00007ff9c9fa8b9c} + 0 bytes
MyGame.exe!FOutputDeviceWindowsError::Serialize() {0x00007ff7829b3757} + 0 bytes
MyGame.exe!FOutputDevice::Logf__VA() {0x00007ff782a2db08} + 0 bytes
MyGame.exe!FDebug::AssertFailed() {0x00007ff7829f5748} + 0 bytes
MyGame.exe!LoadPackageInternal() {0x00007ff782d09470} + 0 bytes
MyGame.exe!ResolveName() {0x00007ff782d188a2} + 0 bytes
MyGame.exe!StaticLoadObjectInternal() {0x00007ff782d20fc8} + 0 bytes
MyGame.exe!StaticLoadObject() {0x00007ff782d205dd} + 0 bytes
MyGame.exe!UGameEngine::Init() {0x00007ff783686058} + 0 bytes
MyGame.exe!FEngineLoop::Init() {0x00007ff782954af5} + 0 bytes
MyGame.exe!GuardedMain() {0x00007ff7829540b8} + 0 bytes
MyGame.exe!GuardedMainWrapper() {0x00007ff7829543ea} + 0 bytes
MyGame.exe!WinMain() {0x00007ff782965fe9} + 0 bytes
MyGame.exe!__tmainCRTStartup() {0x00007ff785980a35} + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL {0x00007ff9cc0113d2} + 0 bytes
ntdll.dll {0x00007ff9ccd35444} + 0 bytes
ntdll.dll {0x00007ff9ccd35444} + 0 bytes

Crash in runnable thread SlateLoadingThread

Hi a.konik,

I’m assuming your project was converted from 4.7 to 4.8, is that correct? Everything was working properly in 4.7?

Also post the entire crash reporter Callstack (make sure to submit it) and the Log & DMP files.

Hey, shouldn’t the line:

check(!Result || Result->LinkerLoad == Linker);

be:

check(Result && Result->LinkerLoad == Linker); in UObjectGlobals.cpp?

Its throwing an assert on a valid pointer with how it is currently correct?

after switching from 4.7 to 4.8, I had not much changed ++ code to the network portion. From the editor the game starts and everything works as before, but if you run the build, I get this message

I have the same problem but only on Android… On Windows and PIE is working good…

[2015.06.12-02.38.42:963][ 0]Log file open, 06/12/15 04:38:42
[2015.06.12-02.38.42:963][ 0]LogModuleManager:Warning: ModuleManager: Module ‘HTTPChunkInstaller’ not found - its StaticallyLinkedModuleInitializers function is null.
[2015.06.12-02.38.42:963][ 0]LogTaskGraph: Started task graph with 4 named threads and 7 total threads.
[2015.06.12-02.38.42:963][ 0]LogStats: Stats thread started
[2015.06.12-02.38.42:963][ 0]LogInit: Version: 4.8.0-0+++depot+UE4-Releases+4.8
[2015.06.12-02.38.42:963][ 0]LogInit: API Version: 0
[2015.06.12-02.38.42:963][ 0]LogInit: Compiled (64-bit): Jun 12 2015 04:18:02
[2015.06.12-02.38.42:963][ 0]LogInit: Compiled with Visual C++: 18.00.21005.01
[2015.06.12-02.38.42:963][ 0]LogInit: Build Configuration: Development
[2015.06.12-02.38.42:963][ 0]LogInit: Branch Name: ++depot+UE4-Releases+4.8
[2015.06.12-02.38.42:963][ 0]LogInit: Command line:
[2015.06.12-02.38.42:963][ 0]LogInit: Base directory: E:/Biblioteka/Pulpit/wind/WindowsNoEditor/ChasingRobbers/Binaries/Win64/
[2015.06.12-02.38.42:963][ 0]LogInit: Rocket: 0
[2015.06.12-02.38.42:964][ 0]LogInit: Using libcurl 7.41.0
[2015.06.12-02.38.42:964][ 0]LogInit: - built for x86_64-pc-win32
[2015.06.12-02.38.42:964][ 0]LogInit: - supports SSL with WinSSL
[2015.06.12-02.38.42:964][ 0]LogInit: - other features:
[2015.06.12-02.38.42:964][ 0]LogInit: CURL_VERSION_SSL
[2015.06.12-02.38.42:965][ 0]LogInit: CURL_VERSION_IPV6
[2015.06.12-02.38.42:965][ 0]LogInit: CURL_VERSION_ASYNCHDNS
[2015.06.12-02.38.42:965][ 0]LogInit: CURL_VERSION_LARGEFILE
[2015.06.12-02.38.42:965][ 0]LogInit: CURL_VERSION_IDN
[2015.06.12-02.38.42:965][ 0]LogInit: CurlRequestOptions (configurable via config and command line):
[2015.06.12-02.38.42:965][ 0]LogInit: - bVerifyPeer = false - Libcurl will NOT verify peer certificate
[2015.06.12-02.38.42:965][ 0]LogInit: - bUseHttpProxy = false - Libcurl will NOT use HTTP proxy
[2015.06.12-02.38.42:965][ 0]LogInit: - bDontReuseConnections = false - Libcurl will reuse connections
[2015.06.12-02.38.42:965][ 0]LogInit: - CertBundlePath = nullptr - Libcurl will use whatever was configured at build time.
[2015.06.12-02.38.42:965][ 0]LogModuleManager:Warning: ModuleManager: Module ‘OnlineSubsystemGooglePlay’ not found - its StaticallyLinkedModuleInitializers function is null.
[2015.06.12-02.38.42:965][ 0]LogOnline:Warning: Unable to load default OnlineSubsystem module GooglePlay, using NULL interface
[2015.06.12-02.38.42:965][ 0]LogModuleManager:Warning: ModuleManager: Module ‘OnlineSubsystemNull’ not found - its StaticallyLinkedModuleInitializers function is null.
[2015.06.12-02.38.42:969][ 0]LogInit: Presizing for 0 objects not considered by GC, pre-allocating 0 bytes.
[2015.06.12-02.38.42:979][ 0]LogInit: Object subsystem initialized
[2015.06.12-02.38.42:980][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘TranslucentSortAxis = (X=0.000000,Y=-1.000000,Z=0.000000)’
[2015.06.12-02.38.42:980][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/ChasingRobbers/Saved/Config/WindowsNoEditor/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
[2015.06.12-02.38.42:980][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘UIScaleRule = ShortestSide’
[2015.06.12-02.38.42:980][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/ChasingRobbers/Saved/Config/WindowsNoEditor/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
[2015.06.12-02.38.42:980][ 0]LogConsoleResponse:Warning: Skipping Unknown console variable: ‘UIScaleCurve = (EditorCurveData=(Keys=),ExternalCurve=None)’
[2015.06.12-02.38.42:980][ 0]LogConsoleResponse:Warning: Found in ini file ‘…/…/…/ChasingRobbers/Saved/Config/WindowsNoEditor/Engine.ini’, in section ‘[/Script/Engine.RendererSettings]’
[2015.06.12-02.38.42:986][ 0]LogInit: Selected Device Profile: [WindowsNoEditor]
[2015.06.12-02.38.42:986][ 0]LogInit: Applying CVar settings loaded from the selected device profile: [WindowsNoEditor]
[2015.06.12-02.38.42:992][ 0]LogInit: Computer: -DESK
[2015.06.12-02.38.42:992][ 0]LogInit: User:
[2015.06.12-02.38.42:992][ 0]LogInit: CPU Page size=4096, Cores=4
[2015.06.12-02.38.42:992][ 0]LogInit: High frequency timer resolution =3.417995 MHz
[2015.06.12-02.38.42:992][ 0]LogMemory: Memory total: Physical=15.9GB (16GB approx)
[2015.06.12-02.38.42:992][ 0]LogMemory: Platform Memory Stats for WindowsNoEditor
[2015.06.12-02.38.42:992][ 0]LogMemory: Process Physical Memory: 31.10 MB used, 31.10 MB peak
[2015.06.12-02.38.42:992][ 0]LogMemory: Process Virtual Memory: 19.75 MB used, 19.75 MB peak
[2015.06.12-02.38.42:992][ 0]LogMemory: Physical Memory: 7291.09 MB used, 16332.48 MB total
[2015.06.12-02.38.42:992][ 0]LogMemory: Virtual Memory: 190.98 MB used, 134217728.00 MB total
[2015.06.12-02.38.43:373][ 0]LogTextLocalizationManager: The requested culture (‘pl_PL’) has no localization data; falling back to ‘en’ for localization and internationalization data.
[2015.06.12-02.38.43:674][ 0]LogD3D11RHI: Found D3D11 adapter 0: NVIDIA GeForce GTX 970 (Feature Level 11_0)
[2015.06.12-02.38.43:674][ 0]LogD3D11RHI: Adapter has 3976MB of dedicated video memory, 0MB of dedicated system memory, and 8166MB of shared system memory, 2 output[s]
[2015.06.12-02.38.43:676][ 0]LogD3D11RHI: Found D3D11 adapter 1: Microsoft Basic Render Driver (Feature Level 11_0)
[2015.06.12-02.38.43:676][ 0]LogD3D11RHI: Adapter has 0MB of dedicated video memory, 0MB of dedicated system memory, and 256MB of shared system memory, 0 output[s]
[2015.06.12-02.38.43:676][ 0]LogD3D11RHI: Chosen D3D11 Adapter Id = 0
[2015.06.12-02.38.43:679][ 0]LogRHI: Texture pool is 1361 MB (70% of 1945 MB)
[2015.06.12-02.38.43:692][ 0]LogD3D11RHI: Async texture creation enabled
[2015.06.12-02.38.43:791][ 0]LogCollisionProfile:Warning: Profile (ObstacleBlock) - Custom Channel Name = ‘GameTraceChannel4’ hasn’t been found
[2015.06.12-02.38.43:791][ 0]LogCollisionProfile:Warning: Profile (Projectile) - Custom Channel Name = ‘GameTraceChannel4’ hasn’t been found
[2015.06.12-02.38.43:806][ 0]LogInit: Selected Device Profile: [WindowsNoEditor]
[2015.06.12-02.38.44:003][ 0]LogWindows:Error: Windows GetLastError: Operacja ukończona pomyślnie. (0)
[2015.06.12-02.38.44:304][ 0]LogWindows:Warning: CreateProc failed (2) …....\Engine\Binaries/Win64/CrashReportClient.exe -AppName=UE4-ChasingRobbers
[2015.06.12-02.38.44:304][ 0]LogWindows: Could not start CrashReportClient.exe
[2015.06.12-02.38.44:304][ 0]LogMemory: Platform Memory Stats for WindowsNoEditor
[2015.06.12-02.38.44:304][ 0]LogMemory: Process Physical Memory: 139.18 MB used, 139.19 MB peak
[2015.06.12-02.38.44:304][ 0]LogMemory: Process Virtual Memory: 239.43 MB used, 239.49 MB peak
[2015.06.12-02.38.44:304][ 0]LogMemory: Physical Memory: 7409.48 MB used, 16332.48 MB total
[2015.06.12-02.38.44:304][ 0]LogMemory: Virtual Memory: 465.73 MB used, 134217728.00 MB total
[2015.06.12-02.42.06:219][ 0]LogWindowsTextInputMethodSystem:Display: IME system now deactivated.
[2015.06.12-02.42.06:221][ 0]LogWindows: === Critical error: ===
Assertion failed: !Result || Result->LinkerLoad == Linker [File:D:\Epic Games\4.8\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 1054]

KERNELBASE.dll {0x00007ffc897f8b9c} + 0 bytes
ChasingRobbers.exe {0x00007ff6a460e907} + 0 bytes
ChasingRobbers.exe {0x00007ff6a442f858} + 0 bytes
ChasingRobbers.exe {0x00007ff6a4407fb8} + 0 bytes
ChasingRobbers.exe {0x00007ff6a47e5650} + 0 bytes
ChasingRobbers.exe {0x00007ff6a47f21c2} + 0 bytes
ChasingRobbers.exe {0x00007ff6a47fa7c8} + 0 bytes
ChasingRobbers.exe {0x00007ff6a47f9ddd} + 0 bytes
ChasingRobbers.exe {0x00007ff6a41d362a} + 0 bytes
ChasingRobbers.exe {0x00007ff6a41e6c53} + 0 bytes
ChasingRobbers.exe {0x00007ff6a467125f} + 0 bytes
ChasingRobbers.exe {0x00007ff6a47fc7b3} + 0 bytes
ChasingRobbers.exe {0x00007ff6a47ea044} + 0 bytes
ChasingRobbers.exe {0x00007ff6a41bf052} + 0 bytes
ChasingRobbers.exe {0x00007ff6a41b54ea} + 0 bytes
ChasingRobbers.exe {0x00007ff6a41b5b6a} + 0 bytes
ChasingRobbers.exe {0x00007ff6a41c8069} + 0 bytes
ChasingRobbers.exe {0x00007ff6a76f8009} + 0 bytes
KERNEL32.DLL {0x00007ffc8a6c13d2} + 0 bytes
ntdll.dll {0x00007ffc8c5e5444} + 0 bytes
ntdll.dll {0x00007ffc8c5e5444} + 0 bytes


[2015.06.12-02.42.06:428][  0]LogExit: Executing StaticShutdownAfterError
[2015.06.12-02.42.06:430][  0]LogWindows: FPlatformMisc::RequestExit(1)
[2015.06.12-02.42.06:430][  0]Log file closed, 06/12/15 04:42:06

the latest log and dump
log

It appears that commenting that line fixes it for me. There are cases when Result is null, and when LinkerLoad is equal and not equal to Linker. Without gaining deeper understanding of the causes, curiously, cooked game runs just fine, without the check…

Farther down it has
if (Result && Linker->Loader) { ResetLoaders(Result); }

That means the Check() is valid, I was wrong. If the pointer is not Valid then it continues because the IFs don’t do anything, however if the pointer is valid and not the same linker then it throws the Assert.

The problem is that it is getting a Linker that doesn’t match what it expects, I wouldn’t comment the line out, it is doing what it is supposed to be doing.

I agree – that line is good :slight_smile: Project created using 4.8 works just fine, but in order to work around problem in my project, removing the check() appears to avoid the problem, and, as you said, further checks in the code accommodate for cases that commented out check() doesn’t pickup.

Could you also post your Crash Callstack? Just make sure to submit it as well.

Where i can find Crash Callstack ?

When the engine crashes you are generally prompted with the Crash Reporter that displays the Callstack. However, we have been tracking several reports of this error and it seems that the Crash Reporter isn’t popping up after the crash.

We are currently investigating this issue and will post back here with updates as we have them.

Hi a.konik,

This has now been fixed internally. We are hoping to include it in the 4.8.1 hotfix but if you need it sooner (and are using Source) you can get the Github commit here.

Cheers,

TJ