Unity crashes when I click Play
I'm making a project with Unity 5.4 and ArToolkit. In this Project I have 2 Scenes: 1) Full: This is the game 2) Menu: This is the menù. When I click on the play button (inside the menu scene), Unity crashes. The script to load the menù is a simply function LoadScene that use the SceneManager.LoadScene.
public void LoadScene(string name)
{
SceneManager.LoadScene(name);
}
This is the error log when unity crashes:
Unity Editor [version: Unity 5.4.0f3_a6d8d714de6f]
Unknown caused an Access Violation (0xc0000005)
in module Unknown at 0033:1911baf0.
Error occurred at 2016-08-16_180926.
C:\Program Files\Unity\Editor\Unity.exe, run by User.
44% memory in use.
8192 MB physical memory [4537 MB free].
9472 MB paging file [4847 MB free].
134217728 MB user address space [134216035 MB free].
Write to location 1911baf0 caused an access violation.
Context:
RDI: 0x666e695b RSI: 0x2393dd50 RAX: 0x00000adc
RBX: 0x2393dd50 RCX: 0x2393dd50 RDX: 0x00000007
RIP: 0x1911baf0 RBP: 0x236d1f00 SegCs: 0x00000033
EFlags: 0x00010246 RSP: 0x0024d768 SegSs: 0x0000002b
R8: 0x00000000 R9: 0x8a0a0000 R10: 0x00000000
R11: 0x00000200 R12: 0x0024ddd0 R13: 0x028e67f8
R14: 0x00000001 R15: 0x0024d8f0
Bytes at CS:EIP:
6b 67 72 6f 75 6e 64 49 6e 74 65 72 6e 61 6c 00
Module 1
C:\Users\Public\Documents\Unity Projects\New Unity Project\Assets\Plugins\x86_64\DSVL.dll
Image Base: 0x80000000 Image Size: 0x00018000
File Size: 79872 File Time: 2014-10-16_062746
Version:
Company:
Product:
FileDesc:
FileVer: 0.0.0.0
ProdVer: 0.0.0.0
Module 2
C:\Users\Public\Documents\Unity Projects\New Unity Project\Assets\Plugins\x86_64\ARvideo.dll
Image Base: 0x80000000 Image Size: 0x00066000
File Size: 396288 File Time: 2016-03-23_054156
Version:
Company:
Product:
FileDesc:
FileVer: 0.0.0.0
ProdVer: 0.0.0.0
Module 3
C:\Program Files\FileZilla FTP Client\fzshellext_64.dll
Image Base: 0x626d0000 Image Size: 0x00013000
File Size: 52912 File Time: 2016-05-27_141942
Version:
Company:
Product: fzshellext Dynamic Link Library
FileDesc: fzshellext Dynamic Link Library
FileVer: 3.18.0.0
ProdVer: 3.18.0.0
Module 4
C:\WINDOWS\SYSTEM32\MSVCR100.dll
Image Base: 0x635d0000 Image Size: 0x000d2000
File Size: 829264 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Module 5
C:\WINDOWS\SYSTEM32\MSVCP100.dll
Image Base: 0x636b0000 Image Size: 0x00098000
File Size: 608080 File Time: 2011-06-11_011538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Answer by sramos_eurecat · Nov 28, 2016 at 03:55 PM
I'm having the exact same issue with ARToolkit 5.3.2 and Unity 5.4.0. Unity crashes when trying to load an AR scene from the main one. This is my error log:
Unity Editor [version: Unity 5.4.0f3_a6d8d714de6f]
Unity.exe caused an Access Violation (0xc0000005)
in module Unity.exe at 0033:25ba7d70.
Error occurred at 2016-11-28_163834.
C:\Program Files\Unity_5.4.0\Editor\Unity.exe, run by XXXXXX.
78% memory in use.
7857 MB physical memory [1667 MB free].
15711 MB paging file [9145 MB free].
8388608 MB user address space [8387043 MB free].
Write to location 25ba7d70 caused an access violation.
Context:
RDI: 0x666e695b RSI: 0x260e9d70 RAX: 0x000022a4
RBX: 0x260e9d70 RCX: 0x260e9d70 RDX: 0x00000007
RIP: 0x25ba7d70 RBP: 0x24028990 SegCs: 0x00000033
EFlags: 0x00010246 RSP: 0x0022d898 SegSs: 0x0000002b
R8: 0x00000000 R9: 0xf7c30000 R10: 0x00000000
R11: 0x00000200 R12: 0x0022df00 R13: 0x03136aa0
R14: 0x00000001 R15: 0x0022da20
Bytes at CS:EIP:
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
Module 1
C:\Users\XXXXXX\Assets\Plugins\x86_64\DSVL.dll
Image Base: 0x80000000 Image Size: 0x00018000
File Size: 79872 File Time: 2014-10-16_052746
Version:
Company:
Product:
FileDesc:
FileVer: 0.0.0.0
ProdVer: 0.0.0.0
Module 2
C:\Users\XXXXXX\Assets\Plugins\x86_64\ARvideo.dll
Image Base: 0x80000000 Image Size: 0x00066000
File Size: 396288 File Time: 2016-03-23_044156
Version:
Company:
Product:
FileDesc:
FileVer: 0.0.0.0
ProdVer: 0.0.0.0
Module 3
C:\Windows\system32\MSVCR100.dll
Image Base: 0x73850000 Image Size: 0x000d2000
File Size: 829264 File Time: 2011-06-11_001538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Module 4
C:\Windows\system32\MSVCP100.dll
Image Base: 0x73930000 Image Size: 0x00098000
File Size: 608080 File Time: 2011-06-11_001538
Version:
Company: Microsoft Corporation
Product: Microsoft® Visual Studio® 2010
FileDesc: Microsoft® C Runtime Library
FileVer: 10.0.40219.325
ProdVer: 10.0.40219.325
Module 5
C:\Program Files\Bonjour\mdnsNSP.dll
Image Base: 0x74010000 Image Size: 0x00026000
File Size: 133392 File Time: 2015-08-12_150342
Version:
Company: Apple Inc.
Product: Bonjour
FileDesc: Bonjour Namespace Provider
FileVer: 3.1.0.1
ProdVer: 3.1.0.1
Module 6
C:\Windows\system32\ksuser.dll
Image Base: 0x74f40000 Image Size: 0x00006000
File Size: 5120 File Time: 2015-12-08_200732
Version:
Company: Microsoft Corporation
Product: Microsoft® Windows® Operating System
FileDesc: User CSA Library
FileVer: 6.1.7601.19091
ProdVer: 6.1.7601.19091
Module 7
C:\Windows\system32\kernel32.dll
Image Base: 0x77620000 Image Size: 0x0011f000
File Size: 1163264 File Time: 2016-03-17_235316
Version:
Company: Microsoft Corporation
Product: Sistema operativo Microsoft® Windows®
FileDesc: Archivo DLL de cliente API BASE de Windows NT
FileVer: 6.1.7601.23392
ProdVer: 6.1.7601.23392
Module 8
C:\Windows\system32\USER32.dll
Image Base: 0x77740000 Image Size: 0x000fa000
File Size: 1008640 File Time: 2015-11-10_195528
Version:
Company: Microsoft Corporation
Product: Sistema operativo Microsoft® Windows®
FileDesc: Archivo DLL de cliente API USER de Windows multiusuario
FileVer: 6.1.7601.19061
ProdVer: 6.1.7601.19061
Module 9
C:\Windows\SYSTEM32\ntdll.dll
Image Base: 0x77840000 Image Size: 0x001aa000
File Size: 1732864 File Time: 2016-03-18_000104
Version:
Company: Microsoft Corporation
Product: Sistema operativo Microsoft® Windows®
FileDesc: DLL del nivel de Windows NT
FileVer: 6.1.7601.23392
ProdVer: 6.1.7601.23392
Module 10
C:\Windows\system32\normaliz.DLL
Image Base: 0x77a00000 Image Size: 0x00003000
File Size: 2560 File Time: 2009-07-14_023142
Version:
Company: Microsoft Corporation
Product: Microsoft® Windows® Operating System
FileDesc: Unicode Normalization DLL
FileVer: 6.1.7600.16385
ProdVer: 6.1.7600.16385
Module 11
C:\Windows\system32\PSAPI.DLL
Image Base: 0x77a10000 Image Size: 0x00007000
File Size: 9216 File Time: 2009-07-14_024154
Version:
Company: Microsoft Corporation
Product: Microsoft® Windows® Operating System
FileDesc: Process Status Helper
FileVer: 6.1.7600.16385
ProdVer: 6.1.7600.16385
Your answer
Follow this Question
Related Questions
Physical Based Lighting/shadow Augmented Reality 1 Answer
How to overlay 3D models on top of real buildings using Augmented Reality with Unity and Vuforia? 0 Answers
Augmented reality library that contains all possible functions? 0 Answers
Augmented Reality. Draw dynamic walls 0 Answers
Is there any way to combine text recognition with extended tracking in unity using vufria's sdk? 0 Answers