Open sovetski opened 3 weeks ago
@sovetski can you paste the error's calls stack?
@abernier sure:
TypeError: Cannot read properties of undefined (reading 'elements')
at Vector3.setFromMatrixPosition (http://localhost:3000/_next/static/chunks/2fd53_three_build_three_module_bcbc2d.js:3488:21)
at MeshReflectorMaterial.useCallback[beforeRender] (http://localhost:3000/_next/static/chunks/10bfa_@react-three_drei_c48812._.js:1652:36)
at MeshReflectorMaterial.useFrame [as current] (http://localhost:3000/_next/static/chunks/10bfa_@react-three_drei_c48812._.js:1781:13)
at update (http://localhost:3000/_next/static/chunks/1303a_@react-three_fiber_dist_b28a6f._.js:2092:26)
at loop (http://localhost:3000/_next/static/chunks/1303a_@react-three_fiber_dist_b28a6f._.js:2118:23)
three
version: 0.169.0@react-three/fiber
version: 9.0.0-alpha.8@react-three/drei
version: 9.115.0node
version: v20.10.0npm
(oryarn
) version: 10.2.3Problem description:
With the code below I am getting this error:
TypeError: Cannot read properties of undefined (reading 'elements')
Relevant code: