Using Draco compression in a self-hosted project

Hello, it seems the glb draco decompression is not working in our self-hosted project, the object is not showing. When the model is replaced with a glb model without draco compression, it shows ok.

gltf-model=“dracoDecoderPath: https://cdn.8thwall.com/web/aframe/draco-decoder/

We’re using this line in our a-frame scene object to enable draco compression, perhaps the external files are not loaded?

The link looks to be correct, so I would expect Draco files to work just fine. If you open the network tab on the Chrome debugger do you see any calls failing to fetch?

+1 on checking the browser console for errors, and the network tab for failed network requests. Also note that specifying dracoDecoderPath is no longer needed if you’re using A-Frame 1.4.0+.

Thank you for the answers, not sure where it went wrong earlier but it is working fine now.

1 Like