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

postprocessing 6.36.6 and three 172 break @react-three/postprocessing #310

Closed
AbdBarho opened this issue Jan 1, 2025 · 1 comment · Fixed by #309
Closed

postprocessing 6.36.6 and three 172 break @react-three/postprocessing #310

AbdBarho opened this issue Jan 1, 2025 · 1 comment · Fixed by #309

Comments

@AbdBarho
Copy link

AbdBarho commented Jan 1, 2025

Description of the bug

After the latest update to postprocessing 6.36.6 with three 172 that was pushed yesterday, @react-three/postprocessing now does not build anymore.

I am unsure if this bug belongs here or in postprocessing

if I add overrides to pin to previous version 6.36.5 and three 171 everything works fine again.

"overrides": {
  "three": "0.171.0",
  "postprocessing": "6.36.5"
}

I am using next 15.1.3 & pages router.

Failed to compile.

./node_modules/@react-three/postprocessing/dist/effects/N8AO/N8AOPostPass.js
Attempted import error: 'WebGLMultipleRenderTargets' is not exported from 'three' (imported as 'THREE').

Import trace for requested module:
./node_modules/@react-three/postprocessing/dist/effects/N8AO/N8AOPostPass.js
./node_modules/@react-three/postprocessing/dist/effects/N8AO/index.js
./node_modules/@react-three/postprocessing/dist/index.js

./node_modules/@react-three/postprocessing/dist/effects/SSR/screen-space-reflections.js
Attempted import error: 'WebGLMultipleRenderTargets' is not exported from 'three' (imported as 'WebGLMultipleRenderTargets').

Import trace for requested module:
./node_modules/@react-three/postprocessing/dist/effects/SSR/screen-space-reflections.js
./node_modules/@react-three/postprocessing/dist/effects/SSR/index.js
./node_modules/@react-three/postprocessing/dist/index.js

Library versions used

  • Three: 172
  • Post Processing: 6.36.6
  • @react-three/postprocessing: 2.16.5

Desktop

  • OS: Windows

Happy new year 🎇!

@CodyJasonBennett CodyJasonBennett linked a pull request Jan 7, 2025 that will close this issue
@CodyJasonBennett
Copy link
Member

Fixed in 2.16.6.

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

Successfully merging a pull request may close this issue.

2 participants