There is the possibility that there isn't a 'mesh' attribute in the 'geometry' one so we should check if we found a mesh before trying to access its properties
@@ -1759,6 +1759,10 @@ THREE.ColladaLoader.prototype = {
};
var mesh = getElementsByTagName( xml, 'mesh' )[ 0 ];
+
+ if (!mesh) {
+ return;
+ }
for ( var i = 0; i < mesh.childNodes.length; i ++ ) {