GaussianSplats3D icon indicating copy to clipboard operation
GaussianSplats3D copied to clipboard

No XR on iOS 17 with XR Viewer

Open samhodge opened this issue 1 year ago • 9 comments
trafficstars

image

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

samhodge avatar Feb 16 '24 01:02 samhodge

@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.

kotauchisunsun avatar Feb 17 '24 20:02 kotauchisunsun

Oh sorry I was using another browser

XRViewer

image

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

samhodge avatar Feb 17 '24 22:02 samhodge

AR works VR doesn't on my phone image

samhodge avatar Feb 17 '24 22:02 samhodge

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?

jakerator avatar Mar 12 '24 10:03 jakerator

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

mkkellogg avatar Mar 12 '24 16:03 mkkellogg

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

samhodge avatar Mar 12 '24 20:03 samhodge

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.

mkkellogg avatar Mar 13 '24 15:03 mkkellogg

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

samhodge avatar Mar 13 '24 19:03 samhodge

@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

dlazares avatar Mar 15 '24 05:03 dlazares

Sorry for the extended delay on this one, I made some VR/AR updates in a previous release, have these issues cleared up?

mkkellogg avatar Jun 21 '24 01:06 mkkellogg

Going to close this one for now, please let me know if this issue creeps up again.

mkkellogg avatar Jun 24 '24 18:06 mkkellogg