Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
dan.rossi.90's avatar
8 months ago

makeXRCompatible errors when creating a createEquirectLayer in Quest 2 Oculus browser

There is a problem when creating equirect native layers. The Oculus browser in Quest 2 is complaining the context isn't set to XR compatible when it is.

I've made a modification to three to including native media layers to the initial render state update. As a second update on session start was also causing context loss faults but the error still appears. 

Example here

https://electroteque.org/dev/threejs/examples/webgpu_xr_media_layer.html

Relevant code showing makeXRCompatible setup before the layer creation

https://github.com/danrossi/three.js/blob/equirect-layers/src/renderers/common/XRManager.js#L862
https://github.com/danrossi/three.js/blob/equirect-layers/src/renderers/common/XRManager.js#L962

1 Reply

  • Is this is the correct space for bug reporting for the Oculus browser ? It's still reporting an error.