Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No XR on iOS 17 with XR Viewer #127

Open
samhodge opened this issue Feb 16, 2024 · 9 comments
Open

No XR on iOS 17 with XR Viewer #127

samhodge opened this issue Feb 16, 2024 · 9 comments

Comments

@samhodge
Copy link

image

I tried to get it to work and the button appears but no result

@kotauchisunsun
Copy link

@samhodge
As far as I know, Apple's compliance with the WebXR specification is very poor.
You can check your browser's compliance with WebXR at the following site
https://immersive-web.github.io/webxr-samples/

Probably, Safari on iOS will show no support for WebAR. This is probably why the demo program does not work.

@samhodge
Copy link
Author

Oh sorry I was using another browser

XRViewer

image

https://labs.mozilla.org/projects/webxr-viewer/

@samhodge
Copy link
Author

AR works VR doesn't on my phone image

@jakerator
Copy link

AR doesn't work on IOS "WebXR Viewer (firefox)" neither on "XR Browser".
But "XR Browser" works fine with Lumalabs GS library .

So probably some issue with the threejs renderer. Maybe try to use buil-in ARButton component?

@mkkellogg
Copy link
Owner

@samhodge
Copy link
Author

Do any of the three.js official AR examples work for you?

https://threejs.org/examples/webxr_ar_lighting.html

https://threejs.org/examples/webxr_ar_cones.html

https://threejs.org/examples/webxr_ar_hittest.html

I tried each of those URLs in the following App

https://apps.apple.com/au/app/webxr-viewer/id1295998056

image

They all failed in different ways some had the Start AR like button others had a blank screen

@mkkellogg
Copy link
Owner

Based on your findings my guess is that there is an issue with three.js' WebXR implementation. Hopefully I can dedicate some time to investigate in the near future.

@samhodge
Copy link
Author

Thanks for your response, it seems upstream of your work. But could be worth informing the threejs people of the issue

The iOS audience is a large portion of users

@dlazares
Copy link

dlazares commented Mar 15, 2024

@mkkellogg there's a bug in the current viewer for webxr. You can test this by downloading the visionos simulator, enabling webxr (settings -> app -> safari -> advanced -> feature flags -> enable webxr). you need to change the button to VR mode. There's a big jitter. This wasn't on previous versions. we have an earlier fork that was working on Apple Vision Pro.
it was working as of commit b0b96454550a997c017a1b408186dae58efa4a27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants