pmndrs / react-three-fiber

🇨🇭 A React renderer for Three.js
https://docs.pmnd.rs/react-three-fiber
MIT License
27.62k stars 1.6k forks source link

TypeError: Cannot read properties of undefined (reading 'replace') #3394

Closed sovetski closed 1 week ago

sovetski commented 1 week ago

Hi,

After upgrading to the version of three to ^0.170.0, I have the following error:

TypeError: Cannot read properties of undefined (reading 'replace')

It comes from Text component, when I remove it, error disappears

My code is just:

<Text color="black">
    Hello World
</Text>
sovetski commented 1 week ago

I moved the issue on the relevant repository: https://github.com/pmndrs/drei/issues/2186