Three.js: editor does not open draco gltf files

Created on 19 Mar 2020  路  5Comments  路  Source: mrdoob/three.js

I think it should
Screen Shot 2020-03-19 at 16 36 00

Bug Editor

All 5 comments

Can you please share the asset in this issue?

Besides, does it work with glb?

try this:
draco.gltf.zip

see, @donmccurdy viewer can open it, so why not 3js editor?

Thanks @Mugen87

This issue still persists on the editor. I haven't tried .glb draco compressed files yet but I can't seem to open .gltf draco compressed files.

sw.js:223 [SW] Not cached: https://threejs.org/examples/js/libs/draco/gltf/draco_wasm_wrapper.js
cacheFirst @ sw.js:223
async function (async)
cacheFirst @ sw.js:219
(anonymous) @ sw.js:213
sw.js:223 [SW] Not cached: https://threejs.org/examples/js/libs/draco/gltf/draco_decoder.wasm
cacheFirst @ sw.js:223
async function (async)
cacheFirst @ sw.js:219
(anonymous) @ sw.js:213
GLTFLoader.js:2039 Uncaught (in promise) TypeError: Cannot read property 'associations' of undefined
at GLTFLoader.js:2039
at async Promise.all (/editor/index 0)
at async Promise.all (/editor/index 0)
at async Promise.all (/editor/index 0)
at async Promise.all (/editor/index 0)
at async Promise.all (/editor/index 0)
at async Promise.all (/editor/index 0)

There is a bug in GLTFLoader which is already fixed in dev. Try it with:

http://raw.githack.com/mrdoob/three.js/dev/editor/index.html

Was this page helpful?
0 / 5 - 0 ratings