I'm hitting an issue when attempting to Launch the hololensCaptureApp after deploying to a hololens 2. VS2022 hits an exception, and the app fails to begin capturing. The below exception is what I'm hitting.

Line 39 shows this.sensorDevice

and VS gives a suggestion to remove 'this' (not sure if this is the actual issue)

Repro steps:
Rebuild after cloning repository from here: https://github.com/microsoft/psi
Hololens connected to PC via USB cable
Add IP address from PC to CaptureServerIP.txt doc and add to hololens documents folder via device portal
Enable CaptureServer firewall settings to be both "Public" and "Private"
Deploy hololensCaptureApp to hololens 2
Start CaptureServer on PC
Start CaptureApp on HL2
click start from inside the app
Yellow square appears momentarily
Hololens freezes with black screen
Observe exception in VS
If I click on continue from the exception popup, the app re-appears in the hololens and just sits there saying "please wait constructing capture pipeline" and never progresses further.
Attempted on 2 machines, 1 laptop surface book and 1 desktop PC got same results.
Not sure if this is a build issue or if something is not configured correctly.
OS: Windows 10 Enterprise 22H2
VS: Microsoft Visual Studio Community 2022 (64-bit) - Current
Hololens:
System.Exception
HResult=0x8000FFFF
Message=Catastrophic failure
Catastrophic failure
Source=HoloLens2ResearchMode
StackTrace:
at HoloLens2ResearchMode.ResearchModeSensorDevice..ctor()
at Microsoft.Psi.MixedReality.ResearchMode.ResearchModeImu..ctor(Pipeline pipeline, ResearchModeSensorType sensorType, String name) in C:\Users\v-jbobillot\source\repos\psi\Sources\MixedReality\Microsoft.Psi.MixedReality.UniversalWindows\ResearchMode\ResearchModeImu.cs:line 39
at Microsoft.Psi.MixedReality.ResearchMode.Accelerometer..ctor(Pipeline pipeline, String name) in C:\Users\v-jbobillot\source\repos\psi\Sources\MixedReality\Microsoft.Psi.MixedReality.UniversalWindows\ResearchMode\Accelerometer.cs:line 20
at HoloLensCaptureApp.HoloLensCaptureApp.<>c__DisplayClass46_0.
b__2() in C:\Users\v-jbobillot\source\repos\psi\Sources\MixedReality\HoloLensCapture\HoloLensCaptureApp\HoloLensCaptureApp.cs:line 249
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__278_1(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
I'm hitting an issue when attempting to Launch the hololensCaptureApp after deploying to a hololens 2. VS2022 hits an exception, and the app fails to begin capturing. The below exception is what I'm hitting.

Line 39 shows this.sensorDevice

and VS gives a suggestion to remove 'this' (not sure if this is the actual issue)

Repro steps:
Rebuild after cloning repository from here: https://github.com/microsoft/psi
Hololens connected to PC via USB cable
Add IP address from PC to CaptureServerIP.txt doc and add to hololens documents folder via device portal
Enable CaptureServer firewall settings to be both "Public" and "Private"
Deploy hololensCaptureApp to hololens 2
Start CaptureServer on PC
Start CaptureApp on HL2
click start from inside the app
Yellow square appears momentarily
Hololens freezes with black screen
Observe exception in VS
If I click on continue from the exception popup, the app re-appears in the hololens and just sits there saying "please wait constructing capture pipeline" and never progresses further.
Attempted on 2 machines, 1 laptop surface book and 1 desktop PC got same results.
Not sure if this is a build issue or if something is not configured correctly.
OS: Windows 10 Enterprise 22H2
VS: Microsoft Visual Studio Community 2022 (64-bit) - Current
Hololens:
System.Exception
HResult=0x8000FFFF
Message=Catastrophic failure
Catastrophic failure
Source=HoloLens2ResearchMode
b__2() in C:\Users\v-jbobillot\source\repos\psi\Sources\MixedReality\HoloLensCapture\HoloLensCaptureApp\HoloLensCaptureApp.cs:line 249StackTrace:
at HoloLens2ResearchMode.ResearchModeSensorDevice..ctor()
at Microsoft.Psi.MixedReality.ResearchMode.ResearchModeImu..ctor(Pipeline pipeline, ResearchModeSensorType sensorType, String name) in C:\Users\v-jbobillot\source\repos\psi\Sources\MixedReality\Microsoft.Psi.MixedReality.UniversalWindows\ResearchMode\ResearchModeImu.cs:line 39
at Microsoft.Psi.MixedReality.ResearchMode.Accelerometer..ctor(Pipeline pipeline, String name) in C:\Users\v-jbobillot\source\repos\psi\Sources\MixedReality\Microsoft.Psi.MixedReality.UniversalWindows\ResearchMode\Accelerometer.cs:line 20
at HoloLensCaptureApp.HoloLensCaptureApp.<>c__DisplayClass46_0.
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__278_1(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)