-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text is not allowed in the R3F tree! This could be stray whitespace or characters. #105
Comments
i am also facing the same issue .. |
remove the fallback={} from <Suspense fallback={}> . Found the solution here: https://stackoverflow.com/questions/75655381/the-react-three-fiber-mesh-tag-is-unrecognized-in-this-browse |
I was able to resolve this by going through my components and removing whitespace. Maybe give that a try? |
For all the users still getting this warning, just simply remove the comments and whitespace from all the Models files like Sky.jsx, Island.jsx, Bird.jsx, Plane.jsx and Fox.jsx This will help in removing any kind of warning that is being generated due to whitespace or comments as the R3F tree mostly comes from our Models file |
you need to carefully check for extra characters inside the tag. I had such an error. It turned out that inside there was an extra character ">" |
I'm having this error and I don´t know what could be.
Text is not allowed in the R3F tree! This could be stray whitespace or characters.
The text was updated successfully, but these errors were encountered: