Unity crash in both 2022.3 and unity 6 when using OpenXR and Meta all in one SDK

Hi all, I am new in VR development and I’m having a problem with Unity crashing when I initialize XR, the VR headset shows a black screen and then returns to Meta Link after 10-20 seconds. This happens in both Unity 2022.3 and Unity 6.

I also see an error in the log file at \Logs\shadercompiler-UnityShaderCompiler.exe0.log

Unhandled exception: Protocol error - failed to read magic number. Error code 0x80000004 (Not connected). (transferred 0/4)

Quitting shader compiler process

Here are my settings:

Is there something I’m missing or any suggestions on how to fix this?

Thanks.

Here are editor.log for Meta All In One crashing Issue:
MetaAllInOne_Editor.log.txt (1.4 MB)

I tried the Unity MR template. I can enter play mode, and it works fine. However, when I exit play mode, the editor crashes. I found this error message in the Editor.log:

[XR] [56296] [14:33:58.271][Info ] Stage 1 Missing Entry Points: (1)
[XR] [56296] [14:33:58.272][Info ] xrInitializeLoaderKHR

Full OpenXR crashing log:
OpenXR.txt (50.9 KB)

Thanks