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?
Then please read the following topic. It should explain what’s happening:
Also keep in mind to not import library files from
https://threejs.org. Always use a CDN like
unpkg.com with versioned URLs. E.g.