BabylonReactNative icon indicating copy to clipboard operation
BabylonReactNative copied to clipboard

protocol version mismatch 2 (Native) !== 4 (JS)

Open f4z3k4s opened this issue 3 years ago • 0 comments
trafficstars

For questions, please use the forum.

Describe the bug I think this is not a bug, @babylonjs/react-native just hasn't yet followed the changes going on in @babylonjs/core. This latest commit that this package works with, (release of @babylonjs/[email protected])

To Reproduce Steps to reproduce the behavior:

  1. Install latest rc from @babylonjs/core
  2. Try to render anything

Expected behavior @babylonjs/react-native works with latest @babylonjs/core

I don't intend this as a bug report, sorry if I chose the wrong forum to mark this, but people will find it here the best probably. I know that you'll eventually follow ProtocolVersion of @babylonjs/core. I just intend to mark this issue for people that update their @babylonjs/core version automatically and break their app, and don't know where to start. Just downgrade @babylonjs/core (and loaders) to v5.0.0-beta.11 and it will work with @babylonjs/[email protected] until this package catches up.

Edit:

Probably this should be updated in the package.json of @babylonjs/react-native as peerDependency

"@babylonjs/core": "^5.0.0-alpha.65",

will break things for many people.

f4z3k4s avatar Mar 08 '22 16:03 f4z3k4s