msub2 / webxr-showcase

Showcasing example WebXR projects in as many engines/frameworks as possible.
https://msub2.github.io/webxr-showcase/
7 stars 1 forks source link

[p5.xr] Examples do not work consistently across browsers #11

Closed msub2 closed 2 years ago

msub2 commented 2 years ago

Right now I'm getting an error about the WebGL context not being marked as XR compatible when creating an XRWebGLLayer. Behavior seems dependent on platform, Quest Browser will run the example with a warning but regular Chrome will fail unless you're using the WebXR API emulator. I checked the relevant code but didn't see anything obvious, will probably need to raise this issue upstream.

msub2 commented 2 years ago

Realized the issue, NPM still has a build without the fix for makeXRCompatible on p5vr.js. Made an issue over at https://github.com/stalgiag/p5.xr/issues/156

msub2 commented 2 years ago

Fixed upstream!