unity踩坑日記

花費了一天時間一直在找bug。
unity打包出來的程序,(我勾選了調試模式,因爲的確在調試~)關閉時就會停止工作,因爲涉及到線程一直懷疑自己寫退出時候關閉線程的有問題。。。。。。但是看來看去沒找到問題,就去看錯誤日誌

Mono path[0] = 'E:/Project/GitProject/HiSocket/unity/output/1_Data/Managed'
Mono config path = 'E:/Project/GitProject/HiSocket/unity/output/1_Data/MonoBleedingEdge/etc'
PlayerConnection initialized from E:/Project/GitProject/HiSocket/unity/output/1_Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55369
Multi-casting "[IP] 192.168.0.7 [Port] 55369 [Flags] 3 [Guid] 3126419439 [EditorId] 1872145701 [Version] 1048832 [Id] WindowsPlayer(SC-201903121743) [Debug] 1" to [225.0.0.222:54997]...
Waiting for connection from host on [0.0.0.0:55369]...
PlayerConnection accepted from [192.168.0.7] handle:0x298
Started listening to [0.0.0.0:55369]
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=0.0.0.0:56439
PlayerConnection already initialized - listening to [0.0.0.0:55369]
Initialize engine version: 2017.3.1f1 (fc1d3344e6ea)
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.0]
    Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
    Vendor:   NVIDIA
    VRAM:     6036 MB
    Driver:   26.21.14.3160
Begin MonoManager ReloadAssembly
- Completed reload, in  0.104 seconds
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

Setting up 4 worker threads for Enlighten.
  Thread -> id: 38fc -> priority: 1 
  Thread -> id: 2cac -> priority: 1 
  Thread -> id: 20c8 -> priority: 1 
  Thread -> id: 1a70 -> priority: 1 
UnloadTime: 3.227415 ms
Crash!!!
SymInit: Symbol-SearchPath: '.;E:\Project\GitProject\HiSocket\unity\output;E:\Project\GitProject\HiSocket\unity\output;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Administrator'
OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
E:\Project\GitProject\HiSocket\unity\output\1.exe:1.exe (000000013F7E0000), size: 671744 (result: 0), SymType: '-exported-', PDB: 'E:\Project\GitProject\HiSocket\unity\output\1.exe', fileVersion: 2017.3.1.7475
C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00000000778F0000), size: 1699840 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.1.7601.24520
C:\Windows\system32\kernel32.dll:kernel32.dll (00000000777D0000), size: 1175552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\kernel32.dll', fileVersion: 6.1.7601.24520
C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (000007FEFD950000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.1.7601.24520
E:\Project\GitProject\HiSocket\unity\output\UnityPlayer.dll:UnityPlayer.dll (000007FEDA8E0000), size: 36958208 (result: 0), SymType: '-exported-', PDB: 'E:\Project\GitProject\HiSocket\unity\output\UnityPlayer.dll', fileVersion: 2017.3.1.7475
C:\Windows\system32\HID.DLL:HID.DLL (000007FEFBA70000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\HID.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\msvcrt.dll:msvcrt.dll (000007FEFF8D0000), size: 651264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.7601.17744
C:\Windows\system32\USER32.dll:USER32.dll (00000000776D0000), size: 1024000 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USER32.dll', fileVersion: 6.1.7601.24513
C:\Windows\system32\GDI32.dll:GDI32.dll (000007FEFE190000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.1.7601.24513
C:\Windows\system32\LPK.dll:LPK.dll (000007FEFDE10000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\LPK.dll', fileVersion: 6.1.7601.24517
C:\Windows\system32\USP10.dll:USP10.dll (000007FEFDC70000), size: 831488 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USP10.dll', fileVersion: 1.626.7601.24494
C:\Windows\system32\VERSION.dll:VERSION.dll (000007FEFCA60000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\ole32.dll:ole32.dll (000007FEFE500000), size: 2093056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ole32.dll', fileVersion: 6.1.7601.24511
C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (000007FEFE200000), size: 1228800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.1.7601.24520
C:\Windows\system32\SHLWAPI.dll:SHLWAPI.dll (000007FEFF850000), size: 462848 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHLWAPI.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (0000000077A90000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6.1.7600.16385
C:\Windows\system32\SETUPAPI.dll:SETUPAPI.dll (000007FEFDF50000), size: 1929216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SETUPAPI.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\CFGMGR32.dll:CFGMGR32.dll (000007FEFD9C0000), size: 221184 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CFGMGR32.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (000007FEFF970000), size: 897024 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.1.7601.24520
C:\Windows\SYSTEM32\sechost.dll:sechost.dll (000007FEFE720000), size: 126976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\OLEAUT32.dll:OLEAUT32.dll (000007FEFE330000), size: 897024 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OLEAUT32.dll', fileVersion: 6.1.7601.24515
C:\Windows\system32\DEVOBJ.dll:DEVOBJ.dll (000007FEFD930000), size: 106496 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DEVOBJ.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\SHELL32.dll:SHELL32.dll (000007FEFE9B0000), size: 14200832 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHELL32.dll', fileVersion: 6.1.7601.24468
C:\Windows\system32\OPENGL32.dll:OPENGL32.dll (000007FEE60B0000), size: 1167360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OPENGL32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\GLU32.dll:GLU32.dll (000007FEEDCC0000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GLU32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DDRAW.dll:DDRAW.dll (000007FEEAE00000), size: 987136 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DDRAW.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\DCIMAN32.dll:DCIMAN32.dll (000007FEFBAA0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DCIMAN32.dll', fileVersion: 6.1.7601.24517
C:\Windows\system32\dwmapi.dll:dwmapi.dll (000007FEFB880000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dwmapi.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\WINMM.dll:WINMM.dll (000007FEF93D0000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINMM.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\WS2_32.dll:WS2_32.dll (000007FEFE4B0000), size: 315392 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.1.7601.23451
C:\Windows\system32\NSI.dll:NSI.dll (000007FEFE740000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.1.7601.23889
C:\Windows\system32\IMM32.dll:IMM32.dll (000007FEFDD40000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\MSCTF.dll:MSCTF.dll (000007FEFF740000), size: 1093632 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSCTF.dll', fileVersion: 6.1.7601.24520
C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (000007FEFCE20000), size: 372736 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7601.24168
C:\Windows\system32\IPHLPAPI.DLL:IPHLPAPI.DLL (000007FEFA470000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IPHLPAPI.DLL', fileVersion: 6.1.7601.17514
C:\Windows\system32\WINNSI.DLL:WINNSI.DLL (000007FEFA460000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINNSI.DLL', fileVersion: 6.1.7601.23889
C:\Windows\system32\WINHTTP.dll:WINHTTP.dll (000007FEF66D0000), size: 462848 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINHTTP.dll', fileVersion: 6.1.7601.24000
C:\Windows\system32\webio.dll:webio.dll (000007FEF6640000), size: 409600 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\webio.dll', fileVersion: 6.1.7601.17725
C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL:api-ms-win-core-synch-l1-2-0.DLL (000007FEFCA50000), size: 12288 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL', fileVersion: 10.0.14393.2990
C:\Windows\system32\profapi.dll:profapi.dll (000007FEFD7E0000), size: 61440 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\profapi.dll', fileVersion: 6.1.7600.16385
E:\Project\GitProject\HiSocket\unity\output\1_Data\MonoBleedingEdge\EmbedRuntime\mono-2.0-bdwgc.dll:mono-2.0-bdwgc.dll (000007FEE5270000), size: 5640192 (result: 0), SymType: '-exported-', PDB: 'E:\Project\GitProject\HiSocket\unity\output\1_Data\MonoBleedingEdge\EmbedRuntime\mono-2.0-bdwgc.dll'
C:\Windows\system32\MSWSOCK.dll:MSWSOCK.dll (000007FEFCFA0000), size: 348160 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSWSOCK.dll', fileVersion: 6.1.7601.23451
C:\Windows\System32\wshtcpip.dll:wshtcpip.dll (000007FEFC4A0000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wshtcpip.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (000007FEFA270000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dhcpcsvc6.DLL', fileVersion: 6.1.7601.24498
C:\Windows\system32\dhcpcsvc.DLL:dhcpcsvc.DLL (000007FEFA150000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dhcpcsvc.DLL', fileVersion: 6.1.7601.24498
C:\Windows\system32\NLAapi.dll:NLAapi.dll (000007FEFA7F0000), size: 86016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NLAapi.dll', fileVersion: 6.1.7601.24000
C:\Windows\system32\napinsp.dll:napinsp.dll (000007FEF72B0000), size: 86016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\napinsp.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (000007FEF7290000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\pnrpnsp.dll', fileVersion: 6.1.7600.16385
C:\Windows\System32\winrnr.dll:winrnr.dll (000007FEF7240000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\winrnr.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\CRYPTBASE.dll:CRYPTBASE.dll (000007FEFD710000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTBASE.dll', fileVersion: 6.1.7601.24520
C:\Windows\System32\wship6.dll:wship6.dll (000007FEFCF90000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wship6.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\uxtheme.dll:uxtheme.dll (000007FEFB7F0000), size: 352256 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\uxtheme.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\d3d11.dll:d3d11.dll (000007FEF9410000), size: 1921024 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\d3d11.dll', fileVersion: 6.2.9200.16492
C:\Windows\system32\dxgi.dll:dxgi.dll (000007FEFAE10000), size: 380928 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dxgi.dll', fileVersion: 6.2.9200.16492
C:\Windows\system32\WINTRUST.dll:WINTRUST.dll (000007FEFDBB0000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINTRUST.dll', fileVersion: 6.1.7601.24499
C:\Windows\system32\CRYPT32.dll:CRYPT32.dll (000007FEFDA00000), size: 1495040 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPT32.dll', fileVersion: 6.1.7601.24499
C:\Windows\system32\MSASN1.dll:MSASN1.dll (000007FEFD880000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSASN1.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\nvwgf2umx.dll:nvwgf2umx.dll (000007FEF3E30000), size: 38744064 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\nvwgf2umx.dll', fileVersion: 26.21.14.3160
C:\Windows\system32\bcrypt.dll:bcrypt.dll (000007FEFD1A0000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\bcrypt.dll', fileVersion: 6.1.7601.24520
C:\Windows\system32\imagehlp.dll:imagehlp.dll (000007FEFE700000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\imagehlp.dll', fileVersion: 6.1.7601.18288
C:\Windows\system32\CRYPTSP.dll:CRYPTSP.dll (000007FEFD000000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTSP.dll', fileVersion: 6.1.7601.24499
C:\Windows\system32\rsaenh.dll:rsaenh.dll (000007FEFCD00000), size: 290816 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rsaenh.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\ncrypt.dll:ncrypt.dll (000007FEFD1D0000), size: 327680 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ncrypt.dll', fileVersion: 6.1.7601.24520
C:\Windows\system32\bcryptprimitives.dll:bcryptprimitives.dll (000007FEFD110000), size: 311296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\bcryptprimitives.dll', fileVersion: 6.1.7601.23451
C:\Windows\system32\nvspcap64.dll:nvspcap64.dll (000007FEE4C50000), size: 2826240 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\nvspcap64.dll', fileVersion: 3.19.0.107
C:\Windows\system32\ntmarta.dll:ntmarta.dll (000007FEFCA20000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ntmarta.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\WLDAP32.dll:WLDAP32.dll (000007FEFE130000), size: 335872 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WLDAP32.dll', fileVersion: 6.1.7601.23889
C:\Windows\system32\CLBCatQ.DLL:CLBCatQ.DLL (000007FEFE410000), size: 626688 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CLBCatQ.DLL', fileVersion: 2001.12.8530.16385
C:\Windows\system32\wbem\wbemprox.dll:wbemprox.dll (000007FEF79D0000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\wbemprox.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\wbemcomn.dll:wbemcomn.dll (000007FEF7940000), size: 548864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbemcomn.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\RpcRtRemote.dll:RpcRtRemote.dll (000007FEFD7C0000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RpcRtRemote.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\wbem\wbemsvc.dll:wbemsvc.dll (000007FEF70F0000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\wbemsvc.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\wbem\fastprox.dll:fastprox.dll (000007FEF75F0000), size: 925696 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\fastprox.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\NTDSAPI.dll:NTDSAPI.dll (000007FEF75C0000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NTDSAPI.dll', fileVersion: 6.1.7600.16385
C:\Windows\System32\MMDevApi.dll:MMDevApi.dll (000007FEFBC20000), size: 307200 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\MMDevApi.dll', fileVersion: 6.1.7600.16385
C:\Windows\System32\PROPSYS.dll:PROPSYS.dll (000007FEFBAF0000), size: 1228800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\PROPSYS.dll', fileVersion: 7.0.7601.17514
C:\Windows\system32\wdmaud.drv:wdmaud.drv (000007FEF29A0000), size: 241664 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wdmaud.drv', fileVersion: 6.1.7601.17514
C:\Windows\system32\ksuser.dll:ksuser.dll (0000000071850000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ksuser.dll', fileVersion: 6.1.7601.19091
C:\Windows\system32\AVRT.dll:AVRT.dll (000007FEFB930000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AVRT.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\AUDIOSES.DLL:AUDIOSES.DLL (000007FEF28F0000), size: 323584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\AUDIOSES.DLL', fileVersion: 6.1.7601.24499
C:\Windows\system32\msacm32.drv:msacm32.drv (000007FEF28D0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msacm32.drv', fileVersion: 6.1.7600.16385
C:\Windows\system32\MSACM32.dll:MSACM32.dll (000007FEF2550000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSACM32.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\midimap.dll:midimap.dll (000007FEF2540000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\midimap.dll', fileVersion: 6.1.7600.16385
C:\Windows\system32\rasadhlp.dll:rasadhlp.dll (000007FEF6D00000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rasadhlp.dll', fileVersion: 6.1.7600.16385
C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (000007FEFA2F0000), size: 339968 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\fwpuclnt.dll', fileVersion: 6.1.7601.24000
C:\Windows\system32\dbghelp.dll:dbghelp.dll (000007FEF82D0000), size: 1200128 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7601.17514
C:\Windows\system32\SspiCli.dll:SspiCli.dll (000007FEFD4C0000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVersion: 6.1.7601.24520

========== OUTPUTING STACK TRACE ==================

0x000007FEE53D9572 (mono-2.0-bdwgc) mono_debugger_agent_transport_handshake
0x000007FEE559E94B (mono-2.0-bdwgc) mono_debug_symfile_lookup_method
0x000007FEE53C714E (mono-2.0-bdwgc) mono_print_thread_dump_from_ctx
0x000007FEE54962F4 (mono-2.0-bdwgc) mono_value_describe_fields
0x000007FEE54420E6 (mono-2.0-bdwgc) mono_assembly_close
0x000007FEE5487B23 (mono-2.0-bdwgc) mono_domain_free
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000007FEE5271B11)
0x000007FEE5271B11 (mono-2.0-bdwgc) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000007FEDB2B6AB0)
0x000007FEDB2B6AB0 (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000007FEDB05DDFA)
0x000007FEDB05DDFA (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000007FEDB882FDC)
0x000007FEDB882FDC (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000007FEDB88225A)
0x000007FEDB88225A (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000007FEDB884A4D)
0x000007FEDB884A4D (UnityPlayer) (function-name not available)
0x000007FEDB884CAB (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: '試圖訪問無效的地址。

' (Address: 000000013F7E13EE)
0x000000013F7E13EE (1) (function-name not available)
0x00000000777E556D (kernel32) BaseThreadInitThunk
0x000000007794385D (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

**** Crash! ****
Crash in winutils::ProcessInternalCrash(PEXCEPTION_POINTERS pExInfo)

在這裏插入圖片描述
查了好多資料,最後在unity論壇上找到了解決辦法:
鏈接地址
1.如果是調試模式,勾選上copy pdb files
在這裏插入圖片描述
2.取消上圖所有勾選

看大佬們的發言可能原因(我這個的)大概是以下幾種
1.CPU是AMD的而不是Intel的
2.顯卡驅動不是最新的
3.unity版本低於2017.3.1
大佬們提了很多可能~大家可以去論壇看看,鏈接我放上面了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章