Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
TheShaderMan's avatar
TheShaderMan
Honored Guest
3 years ago

Feature 'depth-sensing' is not permitted by permissions policy

Hello, 

i'm using a Quest Pro with WebXR, it works well, but i cannot find a way to acces depth sensing.

When intializing the context "immersive-ar" with requiredFeature "depth-sensing"

i get an error 

'XRSystem': The session request contains invalid requiredFeatures and could not be fullfilled.

Feature 'depth-sensing' is not permitted by permissions policy

 

According the WebXR specs https://www.w3.org/TR/webxr/#feature-descriptor

 "The depth sensing feature is subject to feature policy and requires "xr-spatial-tracking" policy to be allowed on the requesting document’s origin."

 

Yet, when I access the remote debugger, under "Application" tab > frames > top, I get :

Permissions Policy
    Allowed Features
            accelerometer, autoplay, (...) , xr-spatial-tracking
 
Is depth sensing available on Quest Pro through WebXR ? if so, what I am doing wrong ?
Thank you !
 
Matt

1 Reply

  • I'm also seeing this on the Quest 3, with experimental features enabled