Game plays in editor but crashes standalone
The game I'm working on plays fine in the editor, but once I build it, the standalone game crashes on startup.
Initialize engine version: 5.1.1f1 (2046fc06d4d8)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.0]
Renderer: NVIDIA GeForce GTX 750 Ti (ID=0x1380)
Vendor: NVIDIA
VRAM: 1993 MB
Begin MonoManager ReloadAssembly
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Assembly-UnityScript.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.UI.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.UI.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.Networking.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.Analytics.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\UnityEngine.Analytics.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Photon3Unity3D.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\Photon3Unity3D.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\ProBuilderCore-Unity5.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\ProBuilderCore-Unity5.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\ProBuilderMeshOps-Unity5.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\ProBuilderMeshOps-Unity5.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\ProCore.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\ProCore.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\pb_Profiler.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\pb_Profiler.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\RobinTheilade.RuntimeTreeCollision.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\RobinTheilade.RuntimeTreeCollision.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\RobinTheilade.UnityFramework.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\RobinTheilade.UnityFramework.dll into Unity Child Domain
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\CloudsToy.dll (this message is harmless)
Loading C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\CloudsToy.dll into Unity Child Domain
- Completed reload, in 0.058 seconds
desktop: 1920x1080 60Hz; virtual: 3200x1080 at -1280,0
<RI> Initializing input.
<RI> Input initialized.
<RI> Initialized touch support.
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Managed\System.dll (this message is harmless)
Shader 'Hidden/TerrainEngine/Splatmap/Specular-Base': fallback shader 'Legacy Shaders/Specular' not found
Shader 'Hidden/TerrainEngine/Splatmap/Specular-Base': fallback shader 'Legacy Shaders/Specular' not found
Shader 'Enviro/DoubleBumpedMetalic': fallback shader 'Diffuse' not found
WARNING: Shader Unsupported: 'Enviro/DoubleBumpedMetalic' - All passes removed
WARNING: Shader Unsupported: 'Enviro/DoubleBumpedMetalic' - Setting to default shader.
Crash!!!
SymInit: Symbol-SearchPath: '.;C:\Users\myuser\Desktop\mygame;C:\Users\myuser\Desktop\mygame;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'myuser'
OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
C:\Users\myuser\Desktop\mygame\mp_sword_test.exe:mp_sword_test.exe (000000013F290000), size: 20205568 (result: 0), SymType: '-exported-', PDB: 'C:\Users\myuser\Desktop\mygame\mp_sword_test.exe', fileVersion: 5.1.1.18172
C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (0000000077560000), size: 1740800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.1.7601.18933
C:\Windows\system32\kernel32.dll:kernel32.dll (0000000077340000), size: 1175552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\kernel32.dll', fileVersion: 6.1.7601.18933
C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (000007FEFD3E0000), size: 442368 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.1.7601.18933
C:\Windows\system32\HID.DLL:HID.DLL (000007FEFB450000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\HID.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\msvcrt.dll:msvcrt.dll (000007FEFF7A0000), size: 651264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.7601.17744
C:\Windows\system32\WS2_32.dll:WS2_32.dll (000007FEFD6D0000), size: 315392 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (000007FEFDD60000), size: 1232896 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.1.7601.18933
C:\Windows\system32\NSI.dll:NSI.dll (000007FEFDE90000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\USER32.dll:USER32.dll (0000000077460000), size: 1024000 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USER32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\GDI32.dll:GDI32.dll (000007FEFD8A0000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.1.7601.18898
C:\Windows\system32\LPK.dll:LPK.dll (000007FEFDBE0000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\LPK.dll', fileVersion: 6.1.7601.18946
C:\Windows\system32\USP10.dll:USP10.dll (000007FEFF6D0000), size: 823296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USP10.dll', fileVersion: 1.626.7601.18454
C:\Windows\system32\VERSION.dll:VERSION.dll (000007FEFC210000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\ole32.dll:ole32.dll (000007FEFD9D0000), size: 2109440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ole32.dll', fileVersion: 6.1.7601.18915
C:\Windows\system32\SHLWAPI.dll:SHLWAPI.dll (000007FEFDEA0000), size: 462848 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHLWAPI.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (000007FEFD7C0000), size: 897024 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.1.7601.18869
C:\Windows\SYSTEM32\sechost.dll:sechost.dll (000007FEFF6B0000), size: 126976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.1.7601.18869
C:\Windows\system32\SHELL32.dll:SHELL32.dll (000007FEFDFA0000), size: 14192640 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHELL32.dll', fileVersion: 6.1.7601.18918
C:\Windows\system32\OPENGL32.dll:OPENGL32.dll (000007FEFA8B0000), size: 1167360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OPENGL32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\GLU32.dll:GLU32.dll (000007FEFB160000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GLU32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DDRAW.dll:DDRAW.dll (000007FEE1510000), size: 987136 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DDRAW.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DCIMAN32.dll:DCIMAN32.dll (000007FEFAD00000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DCIMAN32.dll', fileVersion: 6.1.7601.18946
C:\Windows\system32\SETUPAPI.dll:SETUPAPI.dll (000007FEFF4D0000), size: 1929216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SETUPAPI.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\CFGMGR32.dll:CFGMGR32.dll (000007FEFD670000), size: 221184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CFGMGR32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\OLEAUT32.dll:OLEAUT32.dll (000007FEFEF90000), size: 880640 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OLEAUT32.dll', fileVersion: 6.1.7601.18679
C:\Windows\system32\DEVOBJ.dll:DEVOBJ.dll (000007FEFD330000), size: 106496 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DEVOBJ.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\dwmapi.dll:dwmapi.dll (000007FEFB7E0000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dwmapi.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\WINMM.dll:WINMM.dll (000007FEF9B70000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINMM.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\MSACM32.dll:MSACM32.dll (000007FEE8DF0000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSACM32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\IMM32.dll:IMM32.dll (000007FEFF840000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\MSCTF.dll:MSCTF.dll (000007FEFDBF0000), size: 1085440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSCTF.dll', fileVersion: 6.1.7601.18731
C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (000007FEFC930000), size: 372736 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7601.17570
C:\Windows\system32\IPHLPAPI.DLL:IPHLPAPI.DLL (000007FEF9AC0000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IPHLPAPI.DLL', fileVersion: 6.1.7601.17514
C:\Windows\system32\WINNSI.DLL:WINNSI.DLL (000007FEF9A70000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINNSI.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\WINHTTP.dll:WINHTTP.dll (000007FEFB700000), size: 462848 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINHTTP.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\webio.dll:webio.dll (000007FEFB690000), size: 409600 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\webio.dll', fileVersion: 6.1.7601.17725
C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Mono\mono.dll:mono.dll (000007FED6F70000), size: 2990080 (result: 0), SymType: '-exported-', PDB: 'C:\Users\myuser\Desktop\mygame\mp_sword_test_Data\Mono\mono.dll', fileVersion: 1.0.0.1
C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (0000000077720000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\MSWSOCK.dll:MSWSOCK.dll (000007FEFCAB0000), size: 348160 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSWSOCK.dll', fileVersion: 6.1.7601.18254
C:\Windows\system32\CRYPTBASE.dll:CRYPTBASE.dll (000007FEFD170000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTBASE.dll', fileVersion: 6.1.7601.18933
C:\Windows\system32\uxtheme.dll:uxtheme.dll (000007FEFBA50000), size: 352256 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\uxtheme.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\d3d11.dll:d3d11.dll (000007FEF77D0000), size: 1921024 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\d3d11.dll', fileVersion: 6.2.9200.16570
C:\Windows\system32\dxgi.dll:dxgi.dll (000007FEF79B0000), size: 380928 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dxgi.dll', fileVersion: 6.2.9200.16492
C:\Windows\system32\DXGIDebug.dll:DXGIDebug.dll (000007FEF7780000), size: 155648 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DXGIDebug.dll', fileVersion: 9.30.9600.17298
C:\Windows\system32\WINTRUST.dll:WINTRUST.dll (000007FEFD380000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINTRUST.dll', fileVersion: 6.1.7601.18839
C:\Windows\system32\CRYPT32.dll:CRYPT32.dll (000007FEFD460000), size: 1495040 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPT32.dll', fileVersion: 6.1.7601.18839
C:\Windows\system32\MSASN1.dll:MSASN1.dll (000007FEFD320000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSASN1.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\nvwgf2umx.dll:nvwgf2umx.dll (000007FED8BA0000), size: 17686528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\nvwgf2umx.dll', fileVersion: 10.18.13.5330
C:\Windows\system32\bcrypt.dll:bcrypt.dll (000007FEFCC60000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\bcrypt.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\nvspcap64.dll:nvspcap64.dll (0000000180000000), size: 1605632 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\nvspcap64.dll', fileVersion: 2.4.5.44
C:\Windows\system32\bcryptprimitives.dll:bcryptprimitives.dll (000007FEFC750000), size: 311296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\bcryptprimitives.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\MMDevAPI.DLL:MMDevAPI.DLL (000007FEFB400000), size: 307200 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MMDevAPI.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\PROPSYS.dll:PROPSYS.dll (000007FEFBAB0000), size: 1228800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PROPSYS.dll', fileVersion: 7.0.7601.17514
C:\Windows\system32\wdmaud.drv:wdmaud.drv (000007FEE8E70000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wdmaud.drv', fileVersion: 6.1.7601.17514
C:\Windows\system32\ksuser.dll:ksuser.dll (0000000074F00000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ksuser.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\AVRT.dll:AVRT.dll (000007FEFA180000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AVRT.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\AUDIOSES.DLL:AUDIOSES.DLL (000007FEF8F40000), size: 323584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AUDIOSES.DLL', fileVersion: 6.1.7601.18741
C:\Windows\system32\msacm32.drv:msacm32.drv (000007FEEA6E0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msacm32.drv', fileVersion: 6.1.7600.16385
C:\Windows\system32\midimap.dll:midimap.dll (000007FEEA6D0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\midimap.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\dsound.dll:dsound.dll (000007FEE1680000), size: 557056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dsound.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\POWRPROF.dll:POWRPROF.dll (000007FEFBA20000), size: 180224 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\POWRPROF.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\CLBCatQ.DLL:CLBCatQ.DLL (000007FEFD720000), size: 626688 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CLBCatQ.DLL', fileVersion: 2001.12.8530.16385
C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comctl32.dll:comctl32.dll (000007FEFBC30000), size: 2048000 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comctl32.dll', fileVersion: 6.10.7601.18837
C:\Windows\system32\xinput1_3.dll:xinput1_3.dll (0000000006C80000), size: 122880 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\xinput1_3.dll', fileVersion: 9.18.944.0
C:\Windows\system32\dbghelp.dll:dbghelp.dll (000007FEF51E0000), size: 1200128 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\SspiCli.dll:SspiCli.dll (000007FEFD0E0000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVersion: 6.1.7601.18933
========== OUTPUTING STACK TRACE ==================
000000013F579249 (mp_sword_test) ShaderLab::FastPropertyName::Init
I see the shader warnings, but I don't see any errors. Are the warnings more important than I realize? Are there any other logs that aren't found in the _Data folder?
EDIT: I've got debug information.
Unhandled exception at 0x0000000077579381 (ntdll.dll) in mp_sword_test.exe: 0xC0000005: Access violation reading location 0x0000000000000008.
Visual Studio says ntdll.pdb not loaded. After finding someone with similar issues, I tried running it in Administrator mode, but still have the same issue.
EDIT2: The 32 bit build of the game actually generates a crash.dmp.
Exception Code; 0xC0000005 Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Your answer
Follow this Question
Related Questions
Unity windows standalone build crashes on opening output_log.txt if built on a different machine 0 Answers
Main Menu scene crashes my build right after the Unity splash logo ends. 0 Answers
How can I show a prompt for the user when my standalone application crashes? 0 Answers
Mystery crashing in Windows Standalone Build w/ no Crash Log 2 Answers
Unity 2018.2.2f1 standalone crashes 0 Answers