Game crashes when playing in Standalone and Packaged game wont start at all

When I start the project in the editor it plays perfectly fine with no errors or warnings. However starting the game in standalone will result in a new window that just displays a black screen before crashing. Here is the error as it appears in the logs.

[2016.12.23-19.34.00:947][ 0]LogWindows:Error: === Critical error: ===
[2016.12.23-19.34.00:947][ 0]LogWindows:Error:
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: Fatal error!
[2016.12.23-19.34.00:947][ 0]LogWindows:Error:
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000b0
[2016.12.23-19.34.00:947][ 0]LogWindows:Error:
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-Engine.dll!USceneComponent::SetupAttachment() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\engine\private\components\scenecomponent.cpp:1413]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-EightiesHorrorGame-6795.dll
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-CoreUObject.dll!UClass::CreateDefaultObject() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:2524]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-CoreUObject.dll!UObjectLoadAllCompiledInDefaultProperties() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:745]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-CoreUObject.dll!ProcessNewlyLoadedUObjects() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:830]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-CoreUObject.dll!TBaseStaticDelegateInstance::ExecuteIfSafe() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:1017]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-Core.dll!TBaseMulticastDelegate::Broadcast() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:921]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\modules\modulemanager.cpp:461]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-Projects.dll!FModuleDescriptor::LoadModulesForPhase() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\projects\private\moduledescriptor.cpp:398]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor-Projects.dll!FProjectManager::LoadModulesForProject() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\projects\private\projectmanager.cpp:53]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor.exe!FEngineLoop::LoadStartupModules() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2218]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor.exe!FEngineLoop::PreInit() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:1653]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor.exe!GuardedMain() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\launch.cpp:117]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor.exe!GuardedMainWrapper() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor.exe!WinMain() [d:\build++ue4+release-4.13+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:202]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: UE4Editor.exe!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: KERNEL32.DLL
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: ntdll.dll
[2016.12.23-19.34.00:947][ 0]LogWindows:Error: ntdll.dll
[2016.12.23-19.34.00:947][ 0]LogWindows:Error:

I tried packaging the game but it won’t start at all when I do that. Standalone works perfectly fine in other projects but I have not tried packaging those other projects. Really what I want is to get standalone working.

Hi zhegames,

When you crash, are you also getting a Callstack? If so, can you post the Callstack here along with your Epic ID/Machine ID? Also, make sure to submit the Callstack popup.

We haven’t heard back from you in a few days, so we are marking this post as resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information to reopen the post.

Cheers,

TJ