Skip to content
New issue

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

Invalid value used as weak map key in postprocessing #279

Open
KrzysztofSieczkiewicz opened this issue Apr 19, 2024 · 0 comments
Open

Invalid value used as weak map key in postprocessing #279

KrzysztofSieczkiewicz opened this issue Apr 19, 2024 · 0 comments

Comments

@KrzysztofSieczkiewicz
Copy link

When changing DepthOfField focal length or focus distance using slider
I'm getting browser blackout and shortly after error message:
Invalid value used as weak map key TypeError: Invalid value used as weak map key at WeakMap.set (<anonymous>) at Object.drawBuffers (http://localhost:3000/static/js/bundle.js:113367:28) at WebGLRenderer.setRenderTarget (http://localhost:3000/static/js/bundle.js:117814:15) at ShaderPass.render (http://localhost:3000/static/js/bundle.js:26281:14) at DepthOfFieldEffect.update (http://localhost:3000/static/js/bundle.js:28496:18) at EffectPass.render (http://localhost:3000/static/js/bundle.js:25266:14) at EffectComposer.render (http://localhost:3000/static/js/bundle.js:26746:14) at Object.current (http://localhost:3000/static/js/bundle.js:89791:16) at render$1 (http://localhost:3000/static/js/bundle.js:8530:22) at loop (http://localhost:3000/static/js/bundle.js:8557:19)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant