You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since updating RTF to 5.0.3 from 4.2.21, I see the following unhandled error when switching routes in my application:
Uncaught TypeError: e.current.gl.render is not a function
Mb @ /[...]/node_modules/react-three-fiber/web.js:157
THREE.Scene: .dispose() has been removed.
This only occurs on changing away from my page that includes RTF, and only if I make the change before my material textures have finished loading.
I'm using useLoader with TextureLoader to load them, along with Suspense. Did something change in 5.x regarding loading textures that I need to change in my code?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Since updating RTF to 5.0.3 from 4.2.21, I see the following unhandled error when switching routes in my application:
This only occurs on changing away from my page that includes RTF, and only if I make the change before my material textures have finished loading.
I'm using useLoader with TextureLoader to load them, along with Suspense. Did something change in 5.x regarding loading textures that I need to change in my code?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions