De-Panther / unity-webxr-export

Develop and export WebXR experiences using Unity WebGL
https://de-panther.github.io/unity-webxr-export/
Apache License 2.0
1.04k stars 110 forks source link

Compatible with IOS? #131

Closed MarcoLavoro closed 3 years ago

MarcoLavoro commented 3 years ago

Hi, I tried the demo: https://de-panther.github.io/unity-webxr-export/Build/ with my android device and it works NICE! But on both my iPhone 7 and iPhone 10 the AR button is NOT selectable... (ARFoundation works on both device) This project is not compatible with IOS?

De-Panther commented 3 years ago

iOS doesn't support WebXR, the only option on iOS, is the Mozilla WebXR Viewer, which didn't get an update 8 months (or something like that)

MarcoLavoro commented 3 years ago

So

iOS doesn't support WebXR, the only option on iOS, is the Mozilla WebXR Viewer, which didn't get an update 8 months (or something like that)

Thanks a lot for the SUPER fast reply In this case i can not use it on this project but THANKS A LOT It work correctly on Mac for VR?

by the way, very awesome job!

De-Panther commented 3 years ago

Thanks.

On iOS, all the browsers are based on Safari. Safari supports WebVR (old deprecated API), and there's a WebXR Polyfill script that use that old API and make it act like WebXR. That's why the VR session works

devesh-ls commented 2 years ago

@De-Panther So is there any way to run AR thing of Safari with your sdk?