[WebXR] Support for AR module in VisionOS 2.x

Thank you again for pushing the web forward in VisionOS 2, super exciting!

The latest WWDC24 video touched on VR experiences for VisionOS2.0 using WebXR, however there was no mention of passthrough AR experiences.

Samples such as this one are not supported:

  • https://immersive-web.github.io/webxr-samples/immersive-ar-session.html

In Settings > Safari, there is a feature flag for the AR WebXR module, but enabling it did not seem to change anything.

Is this the expected behavior at this time? Any developer preview(s) we could try?

Answered by Vision Pro Engineer in 790772022

WebXR Immersive Sessions are a privacy preserving way to enable Augmented Reality through the Web. WebXR "immersive-ar" sessions are not supported on visionOS or iOS, that feature of the WebXR API is not in a testable state so even though the flag is there it is non-functional at this time. If this is a feature you would like please file a feedback request it's extremely helpful.

Again camera privacy concern, I guess! come on apple, at least give us the AR experience similar as what we could get on iPhone, otherwise why should pay 3500usd for a headset that does not support WEBAR?!

Accepted Answer

WebXR Immersive Sessions are a privacy preserving way to enable Augmented Reality through the Web. WebXR "immersive-ar" sessions are not supported on visionOS or iOS, that feature of the WebXR API is not in a testable state so even though the flag is there it is non-functional at this time. If this is a feature you would like please file a feedback request it's extremely helpful.

[WebXR] Support for AR module in VisionOS 2.x
 
 
Q