Seeking Assistance with Unidentified Errors in Code

Hey Forum,

Has anyone encountered similar errors before like the one in the image below? I don’t have any references to “dot” in my code, so I’m unsure where the issue might be coming from.

Any insights or suggestions would be appreciated.

That dot appears to be internal - see this line of the Mesh.js file.

Your code is probably passing some null value somewhere.

Also, that checkBufferGeometryIntersection function does not appear to be present in the current Mesh.js file, seems to have been renamed to checkGeometryIntersection.

Your three.js version is probably older or I might be looking at the wrong file all together.

2 Likes

And specifically “dot” is a function on the Vector3 class, so you’re probably passing in null/undefined for a Vector3 somewhere.

1 Like