musehq / spacesvr

A standardized reality for the future of the 3D Web.
https://spacesvr.io
MIT License
182 stars 35 forks source link

no Drei Components not working inside StandardEnvironment #82

Closed jonrrivera closed 2 years ago

jonrrivera commented 2 years ago

Hey!

Been looking for ways to better present my component, but I can't seem to render any Drei 7.0.6 component inside the spacevr StandardEnvironment. This is the error I get:

Screen Shot 2022-04-14 at 8 48 56 AM

Happy any code or environment if needed, but you should be able to recreate using the spacevr next js starter with:

"three": "^0.127.0", "spacesvr": "latest", "react": "^17.0.2", "@react-spring/web": "^9.2.1", "@react-three/cannon": "^4.9.0", "@react-three/drei": "7.0.6", "@react-three/fiber": "6.0.14",

alex-shortt commented 2 years ago

hey like we went over, pretty much all due to #84. There's a lot of intricate package pinning you need to do until that's fixed. hopefully you got it to work though!