-
Notifications
You must be signed in to change notification settings - Fork 86
Uncaught (in promise) TypeError: this.gl.setCompatibleXRDevice is not a function #18
Comments
Same thing on my Pixel XL (Android 9; Canary 73.03665.2) The This happens in line 132 in
Regarding Chromium, there are currently two issues about this function name; but they're both from August last year. I have yet to find out how to properly get the XR device now. Any ideas? The proposal entry for this method in the Immersive Web Github Repo is even older. (It seems to have been like that for a long time now, as those lines of code above have also been used on some of the older webxr-examples from March 2018.) |
Looks like this function was changed to makeXRCompatible |
Hi,
In the WebXR Device API draft: https://immersive-web.github.io/webxr/#dom-webglrenderingcontextbase-makexrcompatible there is no more reference to requestFrameOfReference. Might this function been changed also? |
There's been a few changes in Canary so the implementation is inbetween documented specs, so a bit hard to follow unfortunately. Check out these changes we've landed in model-viewer, it's mostly cosmetic name changes -- FYI this will be happening over the next few months, so the platform is still quite unstable. Issues: |
Having successfully run the codelab examples yesterday, I've found that after today's Canary update I'm getting the above error on my S8 running Canary 73.0.3665.4 and Android 8.
The result is that the grey background and GIF remains while the camera feed is missing.
The text was updated successfully, but these errors were encountered: