aframe icon indicating copy to clipboard operation
aframe copied to clipboard

bounded-floor or unbounded - Vision OS 2.1

Open antoniohof opened this issue 1 year ago • 11 comments

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

  • A-Frame Version: 1.5.0
  • Platform / Device: Vision Pro

antoniohof avatar Oct 29 '24 18:10 antoniohof

It should work. Use A-Frame 1.6.0

dmarcos avatar Oct 30 '24 07:10 dmarcos

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.

antoniohof avatar Oct 30 '24 09:10 antoniohof

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?

Dirk-27 avatar Oct 30 '24 09:10 Dirk-27

unbounded not supported by Meta Browser yet. coming soon

dmarcos avatar Oct 31 '24 05:10 dmarcos

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

dmarcos avatar Oct 31 '24 05:10 dmarcos

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

AdaRoseCannon avatar Oct 31 '24 18:10 AdaRoseCannon

Thanks @AdaRoseCannon

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

dmarcos avatar Oct 31 '24 20:10 dmarcos

Just digged in again and saw that this is supported when we enable WebXR experiments in the meta browser chome://flags. See: https://x.com/rcabanier/status/1813725726459535678

We will test it soon.

Dirk-27 avatar Feb 21 '25 15:02 Dirk-27

Just digged in again and saw that this is supported when we enable WebXR experiments in the meta browser chome://flags. See: https://x.com/rcabanier/status/1813725726459535678

With Meta Quest Browser version 36.2 and onwards it should no longer be behind a flag, see: https://arvr.social/@cabanier/113789478074241825

mrxz avatar Feb 21 '25 15:02 mrxz

That is right: just tested it with meta quest 3 and it works without chrome://flags! Great!

<a-scene xr-mode-ui="XRMode: xr;" webxr="requiredFeatures: hit-test,unbounded; optionalFeatures: dom-overlay,unbounded; referenceSpaceType: unbounded;" (...)

Dirk-27 avatar Feb 21 '25 16:02 Dirk-27

I'm not sure if we can close this issue, because it is for vision OS...

Dirk-27 avatar Feb 21 '25 16:02 Dirk-27