We are having a problem with an application that we are building. This application consists of several scenes that we instantiate dynamically using React. Basically you do a chapter, then we change routes and a new React component loads the next chapter. The first time around works perfectly, but if the users wants to repeat one of the chapters the browser crashes completely. We managed to capture the console output and apparently the GLTFLoader is trying to load a blob from an address containing a UUID that doesn’t exist.This problem only happens on Android.
Sounds to me like some internal caching issue. Btw we do have the THREE.Cache.enabled set to false because turning it true would cause problems in iOS.
I think the problem may have to do with the textureCache inside the GLTFParser. Is it possible to reinitialize this? I couldn’t find anything in the source. Or maybe it’s something else entirely.
Any ides would be welcomed, thanks