aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.7k stars 3.98k forks source link

bounded-floor or unbounded - Vision OS 2.1 #5599

Open antoniohof opened 4 weeks ago

antoniohof commented 4 weeks ago

Hi everyone,

Has anyone managed to enter a room-scale tracking webXR scene in safari?

It always denies my request. I can't find any documentation on it in Apple or safari docs. Weirdly enough in the WWDC Apple video they explain all modes when requesting. Do you know if room scale tracking is supported?

Thanks

dmarcos commented 4 weeks ago

It should work. Use A-Frame 1.6.0

antoniohof commented 3 weeks ago

It always rejects it. I'm using the xr-mode-ui and adding the flags in the web-xr attribute of the a-scene.

I wonder if it's the way xr-mode-ui requests it. I will test using a custom button and report back.

Dirk-27 commented 3 weeks ago

I saw this after asking on discord. We have a similar problem with the Quest 3 (s): we are having trouble using a referenceSpaceType 'unbounded' with the Meta Quest 3(s).

Using this: <a-scene xr-mode-ui="XRMode: ar" webxr="referenceSpaceType: unbounded; requiredFeatures: local-floor, unbounded; optionalFeatures: unbounded;">

We get this error: Uncaught (in promise) Error: Failed to enter AR mode (requestSession) at aframe-v1.6.0_d971f0.min.js:1:430219Caused by: NotSupportedError: The specified session configuration is not supported.

We like to avoid having/seeing the bounds (safety zone) in mixed reality mode (AR). Is this possible?

dmarcos commented 3 weeks ago

unbounded not supported by Meta Browser yet. coming soon

dmarcos commented 3 weeks ago

Probably similar for Safari Vision Pro but not 100% sure. @AdaRoseCannon any insight? thanks so much

AdaRoseCannon commented 3 weeks ago

Safari for visionOS only supports local-floor, no bounded or unbounded reference space.

dmarcos commented 3 weeks ago

Thanks @AdaRoseCannon

I leave this open as a reference but there’s nothing to do on the A-Frame side