Forum Discussion

cedi_boy's avatar
cedi_boy
Honored Guest
1 month ago

MetaQuest Browser Bug: INVALID_ENUM using XRProjectionLayer

This issue already got posted here: 

Steps to reproduce the problem

  1. Launch Meta Quest Browser (tested on v41.0) on a Meta Quest 3.
  2. Start WebXR session that initializes an XRProjectionLayer with:
    { textureType: "texture-array" }
  3. render loop: iterate through the views (without using OVR_multiview2 extension).
  4. For each view, attach the subImage.colorTexture to the framebuffer using gl.framebufferTextureLayer
  5. Call gl.clear(gl.COLOR_BUFFER_BIT)
  6. Call gl.getError()

I tried to bind the colorTexture from a subimage of a projection layer with textureType: "texture-array" via:
`gl.framebufferTextureLayer(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, subImage.colorTexture, 0, subImage.imageIndex);`

I seem to get a GL_INVALID_ENUM (1280) error on the first gl rendering operation (only for the first eye/left) when checking for errors. This does not happen if the subimage texture is of type: textureType: "texture"

Is this a bug in the Meta Quest Browser Chromium fork?

No RepliesBe the first to reply

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions