WebAR with visionOS 2.0?

visionOS 2.0 enables passthrough with Metal now: https://developer.apple.com/wwdc24/10092

This suggests it will be possible for WebXR’s AR passthrough module to be implemented for Safari.

Is this already available, perhaps behind a flag?

Answered by Vision Pro Engineer in 790765022

WebXR "immersive-ar" sessions are not supported on visionOS or iOS. There is a flag but "immersive-ar" sessions are 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.

EDIT: the augmented reality flag exists, and I'm wondering if it already worked in v1? If not, does it work in v2?

Accepted Answer

WebXR "immersive-ar" sessions are not supported on visionOS or iOS. There is a flag but "immersive-ar" sessions are 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.

@Vision Pro Engineer I have been closely following the latest vision os updates. It’s been several months and the vision is is now 2.1 rc. Is there any chance that immersive-ar mode will be supported soon?

@Vision Pro Engineer the other features we would like to see coming are dom overlays and webxr/webgpu bindings. Hopefully avp will have at least the same level of support to webxr specs as meta quest.

As we can see, apple always try as hard as possible to not support open web standard even it was not really a technical problem. It's just that if web can do AR they will not get anyone develop exclusive AR in appstore

WebAR with visionOS 2.0?
 
 
Q