Closed alvarosabu closed 1 year ago
Describe the bug useGLTF and GLTFModel both have an error with DracoLoader
useGLTF
GLTFModel
chunk-3J2C55FA.js?v=30a1aa41:425 [TresJS ▲ ■ ●] [useLoader] - Failed to load resource Error: THREE.GLTFLoader: No DRACOLoader instance provided.
Reproduction Reproduction Stackblitz
Steps Steps to reproduce the behavior:
Expected behavior useGltf should work
useGltf
System Info Output of npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers
npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 16.14.2 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 7.17.0 - /usr/local/bin/npm npmPackages: @tresjs/cientos: ^1.1.0 => 1.1.0 @tresjs/core: ^1.2.0 => 1.2.1 vite: ^3.2.4 => 3.2.5
Additional context Add any other context about the problem here.
Seems like the static cdn for draco loaders is returning 404 https://www.gstatic.com/draco/versioned/decoders/1.5.5/
Describe the bug
useGLTF
andGLTFModel
both have an error with DracoLoaderReproduction Reproduction Stackblitz
Steps Steps to reproduce the behavior:
Expected behavior
useGltf
should workSystem Info Output of
npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers
Additional context Add any other context about the problem here.