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

Unable to render anything in canvas #3384

Closed andreazllin closed 3 weeks ago

andreazllin commented 3 weeks ago

Hi! I was tinkering with the library on React Native but I was unable to render anything in the canvas.

Installed the library following the getting started guide and basically copied the React Native example from the introduction page

Repro: https://github.com/kore-koi/vappeby-mobile-app/tree/r3f-repro-1

I don't see anything on screen but the Canvas with the red border, not even an error in console

Did I miss anything from the setup or is there any incompatibilities with my Expo/React Native setup or any other libraries I used?

andreazllin commented 3 weeks ago

Found it, I guess that enabling the New Architecture breaks something

[
  "expo-build-properties",
  {
    "ios": {
      "newArchEnabled": true
    },
    "android": {
      "newArchEnabled": true
    }
  }
]