-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
I know there is already an issue on this, but since this looks kinda severe, I wanted to bring attention to this again.
When loading a GLTF model using react-three-fiber, if you reload the page, it will not dispose of the model and keep adding up until you run out of memory. This is not threejs related (tested on pure threejs), and I noticed it happening on GLTF (I didn't test on other loaders yet).
An example of the issue is on react-three-fiber GLTF official example:
https://codesandbox.io/p/sandbox/6etx1?file=%2Fsrc%2FApp.js
(example shown on the loading models page)
Running on brave browser
Metadata
Metadata
Assignees
Labels
No labels