Clark
Clark
I've noticed this in my project as well, though I use a sllightly different version of the gltf loader. When I unmount/unload any gltf object, I run it through a...
@donmccurdy Yeah this resolved memory leaks when swapping/removing gltf models often. I'm not exactly sure how the dispose functions work, they emit the following: `this.dispatchEvent( { type: 'dispose' } );`...
Hmm, just taking a look at the code. It looks like `GLTFLoader` uses `GLTFRegistry` not `THREE.Cache` like you mentioned. This means each model would load its own resources and they...
I see... I mostly use `.gltf`s with separate binaries and textures, so that's why the code works fine for me. If you have multiple `.glb`s then yes it would cause...