We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With R3F v9.0.0-rc.1 and r171, there is a TypeError: gl.xr.addEventListener is not a function error:
TypeError: gl.xr.addEventListener is not a function
Reproduction:
git clone [email protected]:verekia/three-gpu-ecosystem-tests.git
cd three-gpu-ecosystem-tests
cd next15-app-r3f9-react19
npm i --legacy-peer-deps
In next15-app-r3f9-react19/app/page.js, comment out the workaround:
next15-app-r3f9-react19/app/page.js
<Canvas style={{ height: '100vh' }} gl={canvas => new WebGPURenderer({ canvas })} // gl={canvas => { // const renderer = new WebGPURenderer({ canvas }) // renderer.xr = { addEventListener: () => {} } // return renderer // }} >
npm run dev
The text was updated successfully, but these errors were encountered:
@CodyJasonBennett do you know why this method is required and why it does not exist for WebGPURenderer?
Sorry, something went wrong.
No branches or pull requests
With R3F v9.0.0-rc.1 and r171, there is a
TypeError: gl.xr.addEventListener is not a function
error:Reproduction:
git clone [email protected]:verekia/three-gpu-ecosystem-tests.git
cd three-gpu-ecosystem-tests
cd next15-app-r3f9-react19
npm i --legacy-peer-deps
In
next15-app-r3f9-react19/app/page.js
, comment out the workaround:npm run dev
The text was updated successfully, but these errors were encountered: