Im running the tutorial locally using express to serve the content, and I’m recieving this error while trying to load a Gltf model:
GLTFLoader.js:47 Uncaught TypeError: Cannot read property ‘itemStart’ of undefined
at GLTFLoader.load (GLTFLoader.js:47)
at loadModels (scripts.js:90)
at init (scripts.js:21)
at scripts.js:148
GLTFLoader.js:47 Uncaught TypeError: Cannot read property ‘itemStart’ of undefined
at GLTFLoader.load (GLTFLoader.js:47)
at Object. (whseView.controller.js:42)
at p (jquery-dbg.js:3192)
at Object.fireWith [as resolveWith] (jquery-dbg.js:3322)
at h3 (jquery-dbg.js:8790)
at HTMLScriptElement.b (jquery-dbg.js:9281)
at HTMLScriptElement.dispatch (jquery-dbg.js:4742)
at HTMLScriptElement.c3.handle (jquery-dbg.js:4554)
And I can say it worked before. Any idea? Or any link to the previous version? That would be very helpful.
GLTFLoader and three.js must be form the same release. In general, we do not support compatibility across different release version since it would not allow us to make any kind of sensible progress in development. So always use the version of GLTFLoader that matches your three.js version.
Thank you very much for that fast answer and of course I understand. How can I access the previous version? I can’t go to r109 as the surrounding framework (SAPUI5) can’t be changed. So I would like to use an older version of GLTFLoader.