#GLTFLoader with draco finishes loading (onProgress) but never reaches onLoad to add to scene

5 messages · Page 1 of 1 (latest)

elfin ermine
#

When i try loading without the draco loader i get the error "Error: THREE.GLTFLoader: No DRACOLoader instance provided." so i assume i need this to decompress my model right?

dense lily
#

Hm, so it never prints "HERE!" but also never prints "An error occurred..." ? That shouldn't happen, does the model work in online viewers? Possible to share the model?

elfin ermine
#

Hey! i did test it online and it loaded there, i figured out a way to make it work! it seems my path to the decoders was wrong? i changed it to

dracoLoader.setDecoderPath("node_modules/three/examples/jsm/libs/draco/");

which seems odd and probably wont work once my app is built, but it works locally right now...
What is the path supposed to be?

elfin ermine
dense lily