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

2 Likes

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

2 Likes

Same for me :slight_smile:

:man_detective:

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

2 Likes