Console errors on Three.js & WebGL 3D Programming #8. Model Loading

  • yoshthesilkie
    Likes 0

    Problem Description

    Hey, any help would be great please – and thank you in advance!

    I’m getting some console errors and the 3d model isn’t displaying for some reason, here are the console errors:

     

    ObjectLoader.js:1 Uncaught SyntaxError: Unexpected token {
    three.js:23119 THREE.WebGLRenderer 107
    three.js:39087 THREE.ObjectLoader: You have to import LegacyJSONLoader in order load geometry data of type "Geometry".
    parseGeometries @ three.js:39087
    three.js:39101 Uncaught TypeError: Cannot set property 'uuid' of undefined
        at ObjectLoader.parseGeometries (three.js:39101)
        at ObjectLoader.parse (three.js:38776)
        at Object.onLoad (three.js:38746)
        at XMLHttpRequest.<anonymous> (three.js:34944)
  • Sonar Systems admin
    Likes 0

    What version?

Login to reply