Forum Discussion
TheShaderMan
3 years agoHonored Guest
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
- evanmcarlsonHonored Guest
I'm also seeing this on the Quest 3, with experimental features enabled
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 2 years ago