aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.46k stars 3.92k forks source link

WebXR not working on Chrome Desktop Windows #4709

Open dmarcos opened 3 years ago

dmarcos commented 3 years ago

Chrome has switched from vendor specific APIs to OpenXR. Oculus and Valve have shipped experimental runtimes on their respective beta channels. It requires users to opt in. Once the OpenXR implementations ship on the release channels WebXR will work automatically. No changes required on the A-Frame side. Keeping this open as a reference.

sookie928 commented 1 year ago

Hololens 2 is not desktop...

What are you talking about? I did mentioned "same error message on Edge Holographic" read the message more carefully please.

De-Panther commented 1 year ago

Hololens 2 is not desktop...

What are you talking about? I did mentioned "same error message on Edge Holographic" read the message more carefully please.

"...error on Edge holographic for Hololens 2..."

Hololens 2 is not desktop...

This is an issue related to Chrome and Chromium desktop.

Does "Edge holographic" runs on Windows Desktop and streams to the Hololens 2 device, or is it the Edge browser that runs on the Hololens 2? As far as I know, it runs on the Hololens 2.

niloriver commented 1 year ago

What worked for me was activating the beta test channel and getting the update to version 50 of the Oculus App.

dmarcos commented 4 months ago

wyzwon from the community reported an issue on Steam VR

https://steamcommunity.com/app/250820/discussions/3/4345481341075381667/

It now seems to be addressed on Steam Beta 2.4.3

https://store.steampowered.com/news/app/250820/view/4104539668011796048?l=english

This might fix some of the issues that people are having entering VR on desktop + Steam VR. Can't personally test but would love to hear people's experiences.

wyzwon commented 4 months ago

Oh! You beat me to the report after all.

Just for the sake of combatting link rot, I started experiencing this problem in the Steam VR beta channel in version 2.4.1. The problem was not present in the last stable release (version 2.3.5)

My test machine is running Windows 10 and I was using a HTC Vive gen 1 headset. I tested with both the Immersive-web demo and the A-Frame Hello WebVR demo on both Chrome and Edge.

The error messages in the Immersive-web demo were as follows:

Could not create a session because: An unknown error occurred

"XRSession creation failed: The specified session configuration is not supported."

To my knowledge, version 2.4.3 has fixed this particular problem and as of today, is no longer in beta.