Draco decompression problem

All of the Babylon projects I have that use compressed glb files now crash with the following error:

28c88686-f722-4068-9266-61d2e8ad3dac:1 Uncaught (in promise) abort({}) at Error
    at g (https://preview.babylonjs.com/draco_wasm_wrapper_gltf.js:14:469)
    at S (https://preview.babylonjs.com/draco_wasm_wrapper_gltf.js:21:438)
    at https://preview.babylonjs.com/draco_wasm_wrapper_gltf.js:40:385
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

I noticed that draco_wasm_wrapper_gltf.js was updated 18hrs ago for IE support. It seems that this preview.babylonjs.com/draco_wasm_wrapper_gltf.js file is being referenced from the main Babylon.js file whether it is the preview or stable version. Is there a good way to download and revert back to the previous version?

Ok, I was able to do a search and replace of “preview.babylonjs.com” to “cdn.babylonjs.com” in the babylon.js file I downloaded which fixed the error. Is there a reason that the non preview version of Babylon.js is using the preview version of these draco decoders?

If it sounds like I have no idea what I’m talking about, I don’t :slight_smile:

lol. Yeah this is “expected” as we let you change the draco decoder if you do not want the preview version :slight_smile:

Just to confirm, the “Stable” version of Babylon.js is supposed to default to the “preview” version of the draco decoder?

1 Like

well yeah :slight_smile: I understand the sarcasm but this is the case :smiley:

Sorry, it wasn’t meant as sarcasm, it just seemed like a mistake which I wanted to point out. I have read the documentation on it and I see its intentional.

No worries I was joking