Experimental WebXR support has landed in Safari 🤯

They did this very quietly it seems! Surprised I missed it considering been needing this for years and always checking

@RaananW I hope you have an iPhone or can get one to start checking things out

So far it does not work, of course. If you want me to look into anything further, let me know.

Was trying this PG here from the immersive session BJS docs https://playground.babylonjs.com/#F41V6N#32


Seems very “apple”-y to me. You turn on augmented reality and immersive-ar sessions are not yet supported… :slight_smile:

I will ask the team to check this out as I happily don’t own an iPhone.

Thank you so much for the update!!!

1 Like

I’m tempted to start a Babylon Fund Me to get you one. I think it’s going to be important to keep bugs from cropping up between the two, knowing how browser APIs go and thinking about how getUserMedia evolved.

I sadly tend to agree. We’ll see how we can organize this. No Go-Fund-Me please! My name can be found in weird areas on the internet, I don’t want to add one more :wink:

1 Like

Here is a example of that, well more in features way this time. I tried updating to latest beta ( no change ) but some new options did appear.

Looks like iOS is going to get WebXR hand tracking support where chrome has not started yet. WebXR hand input module - Level 1 - Chrome Platform Status

Thats going to be fun feature though :slight_smile:

I just tried this out myself and…same…no luck. :frowning: Perhaps Apple just added the toggles. LOL

1 Like

navigator.xr is there but isSessionSupported says false for inline, immersive-vr and immersive-ar.

window.navigator.xr.requestSession("immersive-ar") returns some weird security error

Actually inline works on requestSession. Nothing happens on the device but there is console output.

Maybe its so quietly released because they are still working on it


Same for me :slight_smile:


looks like part of it it got added 6 days ago… hope we see in next build :crossed_fingers:


very interesting, thank you for this thread,
I was worried that webxr would only work for android and that iphones had zero support,
but according to your thread, if I understand it correctly, iOS webxr support is already being added, in beta, and may go mainstream in apple devices in a matter of months maybe? any forecast?
thank you :slight_smile: im specifically interested in AR within webxr

No, only proof positive they are at least (slowly) working on it somewhat recently. They got meh with fake flags that don’t do anything except make a tease XRSession

1 Like

got you, such a pity, I just tried a demo of image tracking in google chrome and it works incredibly well (activating the web xr incubation flag)

1 Like

Been waiting for this for years :_(