No headset detected with Quest2 in MSFS 2020

Go to Run and type in Regedit. Once you are there go to
HKEY_LOCAL_MACHINE. Open it and scroll down to Software. open it then scroll down to Khronos. open it then open OpenXR then 1 You should now see
Active Runtime C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json
Now click on Active Runtime the delete what you have there and put in
C:\Program Files\Oculus\Support\oculus-runtime\oculus_openxr_64.json Remember and take a copy of what’s printed in the Active Runtime just in case.
I HAVE TO STRESS THAT I AM NOT USING STEAM SO THIS MAYBE WON’T WORK FOR YOU, REMEMBER AND TAKE A COPY OF THE ORIGINAL ADDRESS IN YOUR ACTIVE RUNTIME ENTRY IN CASE YOU NEED TO RE-ENTER IT.
Hope this might help it worked for me.