Skip to content

WebXR error in WebGPURenderer / WebGLBackend in non layer devices #31193

@danrossi

Description

@danrossi

Description

I just pulled changes into a merged fork for a PR I made. And found errors in WebXR so it's stopping working altogether. I am not sure what it is. I checked against a fresh checkout.

It's suggesting this is null

renderTargetContextData.framebuffers

const fb = renderTargetContextData.framebuffers[ renderContext.getCacheKey() ];

Related to #31134

Reproduction steps

  1. visit https://electroteque.org/dev/three/examples/webgpu_xr_cubes.html
  2. Launch WebXR
  3. Errors display in the animation frame.

Code

// code goes here

Live example

Screenshots

Image

Version

176

Device

Desktop

Browser

Chrome

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions