So I have this strange crash with 2017.2.0f2 -- if I just create a blank project, and enable HoloLens and put the ARcamera in a scene the application crashes at startup on HoloLens. It's weird because it was working fine for awhile--but then my project started crashing. I created a fresh, blank project and it still crashes.
Here's the exception:
Exception thrown at 0x770F2522 in HL20172.exe: Microsoft C++
exception: Platform::COMException ^ at memory location 0x029FC6F0.
HRESULT:0xC00D3E85 The request is invalid because Shutdown() has been
called.
WinRT information: The request is invalid because Shutdown() has been called.
Here's the debug console log:
Vuforia.VuforiaARController:Start()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
System.Delegate:DynamicInvokeImpl(Object[])
System.MulticastDelegate:DynamicInvokeImpl(Object[])
System.Delegate:DynamicInvoke(Object[])
Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
Vuforia.VuforiaBehaviour:Start()
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro_IL2CPP/runtime/DebugBindings.gen.cpp
Line: 51)
HL20172.exe' (Win32): Loaded
'C:\Windows\System32\Windows.Media.dll'. Cannot find or open the PDB
file.
'HLr20172.exe' (Win32): Loaded
'C:\Windows\System32\mfsensorgroup.dll'. Cannot find or open the PDB
file.
'HL20172.exe' (Win32): Loaded
'C:\Windows\System32\deviceaccess.dll'. Cannot find or open the PDB
file.
'HL20172.exe' (Win32): Loaded
'C:\Windows\System32\MFCaptureEngine.dll'. Cannot find or open the PDB
file.
'HL20172.exe' (Win32): Loaded
'C:\Windows\System32\policymanager.dll'. Cannot find or open the PDB
file.
'HL20172.exe' (Win32): Loaded
'C:\Windows\System32\igd11dxva32.dll'. Cannot find or open the PDB
file.
'HL20172.exe' (Win32): Loaded 'C:\Windows\System32\MFT0_OEM.dll'.
Cannot find or open the PDB file.
'HL20172.exe' (Win32): Loaded
'C:\Windows\System32\IntelCameraPlugin.dll'. Cannot find or open the
PDB file.
'HL20172.exe' (Win32): Loaded
'C:\Windows\System32\igfx11cmrt32.dll'. Cannot find or open the PDB
file.
HL20172.exe' (Win32): Loaded 'C:\Program Files\Intel\Media
SDK\libmfxhw32.dll'. Cannot find or open the PDB file.
The thread 0x16ec has exited with code 13430017 (0xcced01).
The thread 0xecc has exited with code 13430016 (0xcced00).
The thread 0xe14 has exited with code 13430018 (0xcced02).
The thread 0x330 has exited with code 13430019 (0xcced03).
The thread 0x2a8 has exited with code 13430016 (0xcced00).
The thread 0x760 has exited with code 13430018 (0xcced02).
The thread 0x18c has exited with code 13430017 (0xcced01).
The thread 0x1068 has exited with code 13430019 (0xcced03).
HL20172.exe' (Win32): Unloaded 'C:\Program Files\Intel\Media
SDK\libmfxhw32.dll'
Exception thrown at 0x770F2522 (KernelBase.dll) in HL20172.exe:
0x40080201: WinRT originate error (parameters: 0xC00D36B3, 0x00000027,
0x15CFED7C).
'HL20172.exe' (Win32): Loaded 'C:\Windows\System32\msvproc.dll'.
Cannot find or open the PDB file.
The thread 0x113c has exited with code 0 (0x0).
Exception thrown at 0x770F2522 (KernelBase.dll) in HL20172.exe:
0x40080201: WinRT originate error (parameters: 0xC00D3E85, 0x0000003A,
0x15BFF59C).
I figured what was wrong in my case.
In Vuforia Configuration > Digital Eyewear > See Through Config should be "HoloLens"
If you have the instant crash on start, check that you have this one right.