Undefined vertexUv warning

I exported a 3D model from sketchup to collada and used the Threejs Collada bootloader to load. But I get the following warnings:

THREE.DirectGeometry.fromGeometry(): Undefined vertexUv 2 

It looks like some grids in my collada model have 4 faces, but only 2 UV values. Any ideas why collada lacks UV values? And is there a workaround in Threejs with loading such models?

In version 71 of the threejs library, this was just a warning, but in version 72 this leads to the following error when using the selection:

 Uncaught TypeError: Cannot read property '0' of undefined (12:59:20:764 | error, javascript) at raycast (public_html/libs/three.js:17237:19) at intersectObject (public_html/libs/three.js:7678:10) at intersectObject (public_html/libs/three.js:7686:5) at intersectObject (public_html/libs/three.js:7686:5) at intersectObject (public_html/libs/three.js:7686:5) at THREE.Raycaster.intersectObject (public_html/libs/three.js:7734:4) at adjustCameraPositionForCollision (public_html/PointerLockControls.js:302:86) at update (public_html/PointerLockControls.js:257:14) at render (public_html/simbuilding.js:113:24) 
+8
source share

No one has answered this question yet.

See related questions:

2
trjs blend json export + Unable to read property 'type' undefined
2
Problems displaying UV when loading a collada model exported with Sketchup
one
Unable to read property "extractUrlBase" of undefined value on FBXLoader.load
0
Textures that do not appear in the three.js ObjectLoader file
0
Merge grids with Three.js materials
0
THREE.js failed to load json model
0
camera and collision with the ground on three.js
0
Three JS 1 scene 2 files not working yet
0
ColladaLoader TypeError: THREE.LoaderUtils undefined
0
Problems loading models with collada in ThreeJS

All Articles