Draco Compressed GLTF Not Getting Rendered | Rendered as Invisible Object

When trying to render a draco compressed GLTF file using gltf-pipeline, I am not able to render it properly on three.js editor - object which is getting rendered is completely invisible. The corresponding GLTF file seems to be loading properly without any issue.

Original File JSON - original.gltf (2.1 KB)
Draco Compressed JSON - draco-compressed.gltf (3.6 KB)

Why is your uncompressed file smaller?

I can’t test these files in a viewer like https://gltf-viewer.donmccurdy.com/ because the textures are missing. But if the Draco version doesn’t work there or in https://sandbox.babylonjs.com/, the file is broken and I’d suggest filing a bug on glTF-Pipeline.

If your file is only 2kb, you don’t need Draco compression – note that the Draco library itself is quite a bit larger than that.

Hello, I also have this problem. After compressed GLTF to Draco through gltf-pipeline, it cannot render normally. The GLTF file is loaded normally, but it is not displayed on the page.

Ps: compressed GLTF files are normal.

Thank you very much!

I think you’ll need to share the model, or a demo or code. The problem could be in any of those.

Does it appear correctly in a viewer like https://gltf-viewer.donmccurdy.com/? If so then the model is presumably OK.