I’m currently running into an issue where I’m trying to load a Draco compressed model using the Draco Loader on mobile browsers and it seems to hard crash during the call to the
.load method. iOS Safari not and Chrome version 88.0.4324.93 on an Android - Pixel 2 XL are the ones I’ve tested so far. The exact same models seem to render completely fine on web browsers with no issues.
This the error I’m receiving
RuntimeError: memory access out of bounds at <anonymous>:wasm-function:0x18a28 at <anonymous>:wasm-function:0x170b9 at <anonymous>:wasm-function:0x16f17 at <anonymous>:wasm-function:0x21f40 at <anonymous>:wasm-function:0x1371f at <anonymous>:wasm-function:0x2cb1 at emscripten_bind_Decoder_DecodeBufferToMesh_2 (<anonymous>:wasm-function:0x934e) at a._emscripten_bind_Decoder_DecodeBufferToMesh_2 (blob:https://bdd35c37d00a.ngrok.io/95a82b20-81cc-451e-a630-f47694de7a0f:51:560) at g.DecodeBufferToMesh.g.DecodeBufferToMesh (blob:https://bdd35c37d00a.ngrok.io/95a82b20-81cc-451e-a630-f47694de7a0f:92:54) at decodeGeometry (blob:https://bdd35c37d00a.ngrok.io/95a82b20-81cc-451e-a630-f47694de7a0f:189:29)
I’ve tried adding console logs to the onProgress, onLoad, and onError callbacks. The onProgress seems to fully complete but after that, before the onLoad callback can run, it crashes and the onError callback isn’t called either.
Anyone have any ideas on how to go about solving this? Any help would be much appreciated.