THREE GLTFLoader is not a constructor

good evening. unfortunately we have a problem with a recent change.

our gltf models are no longer loaded. The chrome console reports

Uncaught TypeError: THREE.GLTFLoader is not a constructor

everything worked until a few days ago.

could someone help me with troubleshooting?

How do you import GLTFLoader into your app?


with this script-tag

Then please read the following topic. It should explain what’s happening:

from source

thanks i will check this

i will check this


Also keep in mind to not import library files from Always use a CDN like with versioned URLs. E.g.

1 Like