That’s the playground you expected, right @11128 ?
I never encountered this and I’ve been busy with playground every day lately. Maybe something about your firewall .or another kind of local restriction …?
I want to prevent this from happening though. It seems like THIS is the way to do so.
As far as I know, Draco is a way of compressing .gltf and to load a .gltf model, I need this draco thingy.
What happened to me was because my project was trying to pull draco file that is required to load .gltf, but because it is not internally located in my project, in an attempt to pull it from preview.babylon.com, there was an error.
Is this correct?
How can I put it in my project so that it won’t happen again??
i would guess the first line is the important one. You are loading the .js file as a text/html (might be a 404?) so it can’t execute it. it should be application/javascript
the fact that it is .js is good, but your server is sending it incorrectly. and the browser can’t import this script for that reason. This is at least what the error message is saying
I tried blocking the preview.babylon.com draco request so that I can test if DracoCompression.Configuration.decoder.wasmUrl is working, but it sill tries to pull from the website
it’s really hard helping without knowing anything about your project. If you want to reproduce this on the playground, we will be able to debug this with you.