Hi there!
Continuing my experiments with BabylonJS for ReactNative
I’m using the sample code from Playground 0.65 from the BabylonReactNative GitHub repo (main branch). The app builds and runs smoothly on Android and iOS
I’m trying to run on Windows 10 as well. The app seems to builds properly but there is no render view at runtime:
I’ve tried building 32 bits and 64 bits, always with the release configuration.
And I’ve tried with 2 different packages versions:
"@babylonjs/core": "^5.0.0-alpha.65",
"@babylonjs/loaders": "^5.0.0-alpha.65",
"@babylonjs/react-native": "^0.65.0-alpha.47",
"@react-native-community/slider": "^4.2.1",
"react": "17.0.2",
"react-native": "0.65.2"
"react-native-windows": "0.65.12"
and
"@babylonjs/core": "^5.0.0-rc.3",
"@babylonjs/loaders": "^5.0.0-rc.3",
"@babylonjs/react-native": "^0.65.0-alpha.48",
"@react-native-community/slider": "^4.2.1",
"react": "17.0.2",
"react-native": "0.65.2",
"react-native-windows": "0.65.12"
Notes:
-1-
I’ve tried in debug, when running from the command line with:
npx react-native run-windows
I get a message saying that Babylon Native doesn’t run in debug mode.
I understand that I need to run in release mode, but this shows that the app is at least trying to render when running in debug.
-2-
I’ve also noticed the sample app doesn’t support Windows dark mode. This is what I get with dark mode on (the default on all my machines):
May be I need to use a different version of the BabylonReactNative package to get it to work?
Thank you for help!