Hi, I'm trying to get the samples to run on the HoloLens 1. However, I'm stuck on the Initializing MediaFrameSourceGroups. The following exception had happened.
'ArUcoDetectionHoloLensUnity.exe' (Win32): Loaded 'U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\ArUcoDetectionHoloLensUnityVS.Debug_Win32.user\HoloLensForCV.dll'.
'ArUcoDetectionHoloLensUnity.exe' (Win32): Unloaded 'U:\Users\DefaultAccount\AppData\Local\DevelopmentFiles\ArUcoDetectionHoloLensUnityVS.Debug_Win32.user\HoloLensForCV.dll'
Exception thrown at 0x76FF6182 in ArUcoDetectionHoloLensUnity.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x026DE25C.
Exception thrown at 0x76FF6182 in ArUcoDetectionHoloLensUnity.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x026DE7B4.
The thread 0x1098 has exited with code 0 (0x0).
Exception thrown at 0x76FF6182 in ArUcoDetectionHoloLensUnity.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x026DF0E8.
Exception: Exception of type 'System.Exception' was thrown.
at HoloLensForCV.SensorFrameStreamer..ctor () [0x00000] in <00000000000000000000000000000000>:0
at ArUcoDetectionHoloLensUnity.ArUcoMarkerDetection+<StartHoloLensMediaFrameSourceGroups>d__23.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at ArUcoDetectionHoloLensUnity.ArUcoMarkerDetection.StartHoloLensMediaFrameSourceGroups () [0x00000] in <00000000000000000000000000000000>:0
at ArUcoDetectionHoloLensUnity.ArUcoMarkerDetection+<Start>d__19.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at ArUcoDetectionHoloLensUnity.ArUcoMarkerDetection.Start () [0x00000] in <00000000000
Viewing this, it appears that the constructor for SensorFrameStreamer is throwing an error. Not too sure why, though...
After that, I get the below, which makes sense because it is not initialized (from the exception above)
Exception thrown at 0x76FF6182 (KernelBase.dll) in ArUcoDetectionHoloLensUnity.exe: 0x40080202: WinRT transform error (parameters: 0x8000000B, 0x80070490, 0x00000014, 0x017CDFB8).
[7.615456 / 16.812085] - OnWindowActivated event - Deactivated.
Exception thrown at 0x76FF6182 in ArUcoDetectionHoloLensUnity.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x07B5F1B0.
Exception thrown at 0x76FF6182 in ArUcoDetectionHoloLensUnity.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x026DEB18.
Exception thrown at 0x76FF6182 in ArUcoDetectionHoloLensUnity.exe: Microsoft C++ exception: Il2CppExceptionWrapper at memory location 0x026DF0E8.
NullReferenceException: Object reference not set to an instance of an object.
at ArUcoDetectionHoloLensUnity.ArUcoMarkerDetection.<Update>b__21_0 () [0x00000] in <00000000000000000000000000000000>:0
Not too sure why this happened, and this isn't the first time I'm deploying to the HoloLens. I built x86 on Debug/Release, using Unity 2019.4 and VS2019. I'm using the master branch as well. I've also built the HoloLensForCV project from source, x86 Debug/Release.
Any ideas why this could be happening, or some idea of where I can look for a fix?
Hi, I'm trying to get the samples to run on the HoloLens 1. However, I'm stuck on the Initializing MediaFrameSourceGroups. The following exception had happened.
Viewing this, it appears that the constructor for
SensorFrameStreamer
is throwing an error. Not too sure why, though... After that, I get the below, which makes sense because it is not initialized (from the exception above)Not too sure why this happened, and this isn't the first time I'm deploying to the HoloLens. I built x86 on Debug/Release, using Unity 2019.4 and VS2019. I'm using the master branch as well. I've also built the
HoloLensForCV
project from source, x86 Debug/Release.Any ideas why this could be happening, or some idea of where I can look for a fix?