There is no stuff happening. I turned the Unity splash back on, and even that doesnât show. So its even before that. Its hard to know when it crashes. But here is the HoloLens call stack at the last exception (Microsoft C++ exception: wil::ResultException):
KernelBase.dll!77682522()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
ucrtbase.dll!773994c2()
Windows.Devices.Sensors.dll!655f09cd()
Windows.Devices.Sensors.dll!655fb83a()
[Managed to Native Transition]
ABC.exe!ABC.App.Run() Line 68
[Native to Managed Transition]
twinapi.appcore.dll!7305a96d()
twinapi.appcore.dll!730779cd()
SHCore.dll!7442291d()
ntdll.dll!779f9b52()
ntdll.dll!779f9b12()
Win10 PC, the last exception:
VS output:
[0.599928 / 63.290879] - First level loaded
Assertion failed on expression: âpCoordinateSystemâ
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/SpatialMapping/SurfaceObserver.cpp Line: 540)
ABC.exe has triggered a breakpoint.
You are calling into spatial mapping system too early!
(Filename: C:\buildslave\unity\build\Runtime/VR/HoloLens/SpatialMapping/SpatialMappingSystem.cpp Line: 72)
ABC.exe has triggered a breakpoint.
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\imagehlp.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\wintrust.dllâ
The thread 0x366c has exited with code 0 (0x0).
The thread 0x111c has exited with code 0 (0x0).
The thread 0x412c has exited with code 0 (0x0).
The thread 0x4088 has exited with code 0 (0x0).
The thread 0x217c has exited with code 0 (0x0).
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\CryptoWinRT.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\Windows.Devices.Sensors.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\Windows.Shell.ServiceHostBuilder.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\Clipc.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\Windows.System.Profile.SystemId.dllâ
Exception thrown at 0x0A4A9C59 (UnityPlayer.dll) in ABC.exe: 0xC0000005: Access violation reading location 0x00000000.
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\OneCoreCommonProxyStub.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\Windows.ApplicationModel.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\Windows.System.Profile.HardwareId.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\DefaultDeviceManager.dllâ
âABC.exeâ (Win32): Unloaded âC:\Windows\SysWOW64\DDORes.dllâ
âABC.exeâ (Win32): Loaded âC:\Windows\SysWOW64\Windows.Shell.ServiceHostBuilder.dllâ. Cannot find or open the PDB file.
Exception thrown: âSystem.AccessViolationExceptionâ in UnityEngineProxy.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Exception thrown at 0x76EFB802 (KernelBase.dll) in ABC.exe: 0x40080201: WinRT originate error (parameters: 0x8004006A, 0x0000001A, 0x0F77F2C0).
Exception thrown at 0x76EFB802 (KernelBase.dll) in ABC.exe: 0x40080201: WinRT originate error (parameters: 0x8004006A, 0x0000001A, 0x0F77F1E8).
An unhandled exception of type âSystem.AccessViolationExceptionâ occurred in UnityEngineProxy.dll
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Call stack when the memory violation is thrown:
ntdll.dll!77d41d3c()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
KernelBase.dll!76ef8839()
ntdll.dll!77d422fc()
ntdll.dll!77d56202()
ntdll.dll!77d561d4()
ntdll.dll!77d33065()
ntdll.dll!77d44166()
ntdll.dll!77d44166()
UnityEngineDelegates.dll!1e7bcae1()
[Managed to Native Transition]
UnityEngineProxy.dll!UnityEngineProxy.InternalCalls.SurfaceObserver_CUSTOM_INTERNAL_CALL_Internal_SetVolumeAsSphere(object self, System.IntPtr observer, System.IntPtr origin, float radiusMeters)
UnityEngine.VRModule.dll!UnityEngine.XR.WSA.SurfaceObserver.INTERNAL_CALL_Internal_SetVolumeAsSphere(UnityEngine.XR.WSA.SurfaceObserver self, System.IntPtr observer, ref UnityEngine.Vector3 origin, float radiusMeters)
UnityEngine.HoloLens.dll!UnityEngine.XR.WSA.SpatialMappingBase.UpdatePosition() Line 356
UnityEngine.HoloLens.dll!UnityEngine.XR.WSA.SpatialMappingBase.Start() Line 208
UnityEngine.HoloLens.dll!UnityEngine.XR.WSA.SpatialMappingBase.$Invoke60Start(long instance, long* args)
UnityEngine.CoreModule.dll!UnityEngine.Internal.$MethodUtility.InvokeMethod(long instance, long* args, System.IntPtr method)
[Native to Managed Transition]
UnityPlayer.dll!0889c894()
UnityPlayer.dll!088bdc74()
UnityPlayer.dll!089204ce()
UnityPlayer.dll!06ea7bc0()
UnityPlayer.dll!088d2046()
UnityPlayer.dll!088ce099()
UnityPlayer.dll!088dd197()
UnityPlayer.dll!088d14b3()
UnityPlayer.dll!073ce225()
UnityPlayer.dll!08073ee6()
UnityPlayer.dll!080696c7()
UnityPlayer.dll!08a758af()
UnityPlayer.dll!08a08938()
UnityPlayer.dll!08a04bbe()
UnityPlayer.dll!08a04a3c()
UnityPlayer.dll!08bc9364()
UnityPlayer.dll!08bccf52()
UnityPlayer.dll!08bcd1d4()
UnityPlayer.dll!08bd4372()
threadpoolwinrt.dll!77e65cbf()
threadpoolwinrt.dll!77e63b36()
kernel32.dll!757d8744()
ntdll.dll!77d3582d()
ntdll.dll!77d357fd()