当我们开发了一个PC版的游戏之后,发布之际,也是没有问题。但是要是运气不好,那么游戏就生气了。。
*****************游戏它崩溃了***************
崩溃的时候会弹出对话框------ "crashed, crash files saved here, please send them it for us"。如果是的话,在你是使用正版的前提
下,那就给unity官方汇报吧。但是你的问题一般还是需要一定的时间来解决的。
当时在这个时候,Unity3d会给你生存一个错误日志文件:
如下:
看看日志,你就明白是什么问题了。
本人不才,简单的翻译了一下:
*************************Unity3d发布的EXE游戏出现崩溃的原因和解决方案*************************************
Initialize engine version: 4.0.0f7
初始化请引擎版本:4.0.0f7
GfxDevice: creating device client; threaded=1
GFX设备:创建设备客户端;
Direct3D:
Version: Direct3D 11.0 [level 10.1 TODO.dll]
Renderer: ATI Mobility Radeon HD 4530
Vendor(供应商): ATI
VRAM(显存): 249 MB
Begin MonoManager ReloadAssembly
开始MonoManager 重新加载程序集
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\UnityEngine.dll (this message is harmless)
平台程序集:D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\UnityEngine.dll(这个消息是无害的)
Loading D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\UnityEngine.dll into Unity Child Domain
正在加载 D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\UnityEngine.dll 进入unity子域中
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
平台程序集: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp-firstpass.dll(这个消息是无害的)
Loading D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
正在加载D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp-firstpass.dll进入unity子域中
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp.dll (this message is harmless)
平台程序集:D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp.dll
Loading D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
正在加载 D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-CSharp.dll 进入unity子域中
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript-firstpass.dll (this message is harmless)
平台程序集:D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript-firstpass.dll(这个消息是无害的)
Loading D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript-firstpass.dll into Unity Child Domain
正在加载 D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript-firstpass.dll进入unity子域中
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript.dll (this message is harmless)
平台程序集 D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript.dll
Loading D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain
正在加载 D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Assembly-UnityScript.dll进入unity子域中
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\CloudsToy.dll (this message is harmless)
平台程序集 D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\CloudsToy.dll (这个消息是无害的)
Loading D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\CloudsToy.dll into Unity Child Domain
正在加载D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\CloudsToy.dll进入unity子域中。
- Completed reload, in 0.136 seconds
0.136秒完成重载
desktop: 1280x800 60Hz; virtual: 1280x800 at 0,0
桌面:1280x800 60HZ
<RI> Initializing input.<RI> Input initialized.Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\System.dll (this message is harmless)
no unity3d file
(Filename: C:/BuildAgent/work/812c4f5049264fad/Runtime/ExportGenerated/StandalonePlayer/UnityEngineDebug.cpp Line: 43)
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\UnityScript.Lang.dll (this message is harmless)
Platform assembly: D:\360data\importantData\妗岄潰\longmenPCl2.0\longmen_Data\Managed\Boo.Lang.dll (this message is harmless)
*************************************崩溃*******************************************************************
Crash!!!
SymInit: Symbol-SearchPath: '.;D:\360data\importantData\桌面\longmenPCl2.0;D:\360data\importantData\桌面\longmenPCl2.0;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symb', symOptions: 530, UserName: 'braveyoung'
OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
D:\360data\importantData\桌面\longmenPCl2.0\longmen.exe:longmen.exe (01060000), size: 10653696 (result: 0), SymType: '-exported-', PDB: 'D:\360data\importantData\桌面\longmenPCl2.0\longmen.e', fileVersion: 4.0.0.62010
C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (77B00000), size: 1294336 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.1.7601.17725
C:\Windows\system32\kernel32.dll:kernel32.dll (764B0000), size: 868352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\kernel32.dll', fileVersion: 6.1.7601.18015
C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (75A40000), size: 307200 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.1.7601.18015
C:\Windows\system32\USER32.dll:USER32.dll (77A30000), size: 823296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USER32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\GDI32.dll:GDI32.dll (76A60000), size: 319488 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\LPK.dll:LPK.dll (76760000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\LPK.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\USP10.dll:USP10.dll (77C90000), size: 643072 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USP10.dll', fileVersion: 1.626.7601.18009
C:\Windows\system32\msvcrt.dll:msvcrt.dll (767F0000), size: 704512 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.7601.17744
C:\Windows\system32\VERSION.dll:VERSION.dll (74DF0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7601.17647
C:\Windows\system32\ole32.dll:ole32.dll (76590000), size: 1425408 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ole32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (768D0000), size: 659456 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\SHLWAPI.dll:SHLWAPI.dll (766F0000), size: 356352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHLWAPI.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (761F0000), size: 655360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.1.7601.17514
C:\Windows\SYSTEM32\sechost.dll:sechost.dll (77C40000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\SHELL32.dll:SHELL32.dll (76CC0000), size: 12886016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHELL32.dll', fileVersion: 6.1.7601.17859
C:\Windows\system32\OPENGL32.dll:OPENGL32.dll (6C530000), size: 819200 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OPENGL32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\GLU32.dll:GLU32.dll (735D0000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GLU32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DDRAW.dll:DDRAW.dll (76AB0000), size: 946176 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DDRAW.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DCIMAN32.dll:DCIMAN32.dll (75B20000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DCIMAN32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\SETUPAPI.dll:SETUPAPI.dll (75EF0000), size: 1691648 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SETUPAPI.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\CFGMGR32.dll:CFGMGR32.dll (75A10000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CFGMGR32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\OLEAUT32.dll:OLEAUT32.dll (762D0000), size: 585728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OLEAUT32.dll', fileVersion: 6.1.7601.17676
C:\Windows\system32\DEVOBJ.dll:DEVOBJ.dll (75AC0000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DEVOBJ.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\dwmapi.dll:dwmapi.dll (759C0000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dwmapi.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\WINMM.dll:WINMM.dll (75AE0000), size: 204800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINMM.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\WS2_32.dll:WS2_32.dll (76290000), size: 217088 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\NSI.dll:NSI.dll (76750000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\IMM32.dll:IMM32.dll (768B0000), size: 126976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\MSCTF.dll:MSCTF.dll (76090000), size: 835584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSCTF.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (75260000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7601.17570
C:\Windows\system32\IPHLPAPI.DLL:IPHLPAPI.DLL (742A0000), size: 114688 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IPHLPAPI.DLL', fileVersion: 6.1.7601.17514
C:\Windows\system32\WINNSI.DLL:WINNSI.DLL (74280000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINNSI.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\WINHTTP.dll:WINHTTP.dll (6FF80000), size: 360448 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINHTTP.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\webio.dll:webio.dll (6FF30000), size: 323584 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\webio.dll', fileVersion: 6.1.7601.17725
C:\Windows\system32\HID.DLL:HID.DLL (73B60000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\HID.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\MSACM32.dll:MSACM32.dll (6E760000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSACM32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\CRYPTBASE.dll:CRYPTBASE.dll (758C0000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTBASE.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\uxtheme.dll:uxtheme.dll (74600000), size: 262144 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\uxtheme.dll', fileVersion: 6.1.7600.16385
C:\Program Files\360\360Safe\safemon\safemon.dll:safemon.dll (5D130000), size: 1241088 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files\360\360Safe\safemon\safemon.dll', fileVersion: 8.2.2.1300
C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (768A0000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\WININET.dll:WININET.dll (77910000), size: 1159168 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WININET.dll', fileVersion: 9.0.8112.16476
C:\Windows\system32\Normaliz.dll:Normaliz.dll (76360000), size: 12288 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\Normaliz.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\iertutil.dll:iertutil.dll (75CE0000), size: 1806336 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\iertutil.dll', fileVersion: 9.0.8112.16476
C:\Windows\system32\urlmon.dll:urlmon.dll (76BA0000), size: 1118208 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\urlmon.dll', fileVersion: 9.0.8112.16476
D:\360data\importantData\桌面\longmenPCl2.0\longmen_Data\Mono\mono.dll:mono.dll (10000000), size: 2269184 (result: 0), SymType: '-exported-', PDB: 'D:\360data\importantData\桌面\longmenPCl2.0\longmen_Data\Mono\mono.d'
C:\Windows\system32\MSWSOCK.dll:MSWSOCK.dll (753A0000), size: 245760 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSWSOCK.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\d3d11.dll:d3d11.dll (6E240000), size: 1527808 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\d3d11.dll', fileVersion: 6.2.9200.16492
C:\Windows\system32\dxgi.dll:dxgi.dll (6E3C0000), size: 311296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dxgi.dll', fileVersion: 6.2.9200.16492
C:\Windows\system32\WINTRUST.dll:WINTRUST.dll (759E0000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINTRUST.dll', fileVersion: 6.1.7601.17940
C:\Windows\system32\CRYPT32.dll:CRYPT32.dll (75BC0000), size: 1171456 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPT32.dll', fileVersion: 6.1.7601.17856
C:\Windows\system32\MSASN1.dll:MSASN1.dll (759B0000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSASN1.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\aticfx32.dll:aticfx32.dll (6E170000), size: 802816 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\aticfx32.dll', fileVersion: 8.17.10.1114
C:\Windows\system32\atiuxpag.dll:atiuxpag.dll (73780000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\atiuxpag.dll', fileVersion: 8.14.1.6248
C:\Windows\system32\atidxx32.dll:atidxx32.dll (63FF0000), size: 6189056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\atidxx32.dll', fileVersion: 8.17.10.414
C:\Windows\system32\MMDevAPI.DLL:MMDevAPI.DLL (74C10000), size: 233472 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MMDevAPI.DLL', fileVersion: 6.1.7601.17514
C:\Windows\system32\PROPSYS.dll:PROPSYS.dll (74B10000), size: 1003520 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PROPSYS.dll', fileVersion: 7.0.7601.17514
C:\Windows\system32\wdmaud.drv:wdmaud.drv (61DE0000), size: 196608 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wdmaud.drv', fileVersion: 6.1.7601.17514
C:\Windows\system32\ksuser.dll:ksuser.dll (6E5C0000), size: 16384 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ksuser.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\AVRT.dll:AVRT.dll (74B00000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AVRT.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\AUDIOSES.DLL:AUDIOSES.DLL (61D80000), size: 221184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AUDIOSES.DLL', fileVersion: 6.1.7601.17514
C:\Windows\system32\msacm32.drv:msacm32.drv (6C8D0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msacm32.drv', fileVersion: 6.1.7600.16385
C:\Windows\system32\midimap.dll:midimap.dll (66250000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\midimap.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\dsound.dll:dsound.dll (76770000), size: 466944 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dsound.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\POWRPROF.dll:POWRPROF.dll (75A90000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\POWRPROF.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\CLBCatQ.DLL:CLBCatQ.DLL (76160000), size: 536576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CLBCatQ.DLL', fileVersion: 2001.12.8530.16385
C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll:comctl32.dll (74640000), size: 1695744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll', fileVersion: 6.10.7601.17514
C:\Windows\system32\xinput1_3.dll:xinput1_3.dll (07210000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\xinput1_3.dll', fileVersion: 9.18.944.0
C:\Windows\system32\profapi.dll:profapi.dll (75940000), size: 45056 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\profapi.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\CRYPTSP.dll:CRYPTSP.dll (753E0000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTSP.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\rsaenh.dll:rsaenh.dll (75180000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rsaenh.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\dbghelp.dll:dbghelp.dll (71A00000), size: 962560 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\SspiCli.dll:SspiCli.dll (75850000), size: 110592 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVersion: 6.1.7601.17725
========== OUTPUTING STACK TRACE ==================
堆栈跟踪输出
(0x011BB532) (longmen): (filename not available): GameManager::PhysicsRaycastTest + 0xdaf2
(0x012BD29D) (longmen): (filename not available): PlayerMainWndProc + 0x5ad
(0x012BE57F) (longmen): (filename not available): PlayerWinMain + 0x7df
(0x013DFAD8) (longmen): (filename not available): Behaviour::AllowTransferOptimization + 0x36388
(0x01410D40) (longmen): (filename not available): Behaviour::AllowTransferOptimization + 0x675f0
(0x764FED6C) (kernel32): (filename not available): BaseThreadInitThunk + 0x12
(0x77B6377B) (ntdll): (filename not available): RtlInitializeExceptionChain + 0xef
(0x77B6374E) (ntdll): (filename not available): RtlInitializeExceptionChain + 0xc2
========== END OF STACKTRACE ===========