Skip to content
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

BabylonNative.h is missing in @babylonjs/react-native v1.7.7 and 1.7.8. #620

Closed
WayneKim92 opened this issue Nov 25, 2023 · 12 comments
Closed
Assignees

Comments

@WayneKim92
Copy link

Describe the bug
BabylonNative.h is missing in @babylonjs/react-native v1.7.7 and 1.7.8.
Due to this issue, when building an iOS app, a build error occurs saying that BabylonNative.h cannot be found.

To Reproduce

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Other

  • Platform: iOS
@chenkuangkuang
Copy link

Same issue. Anyone help?

@chenkuangkuang
Copy link

I found that you can replace "Babylonnative.h" with "../../react-native/shared/babylonNative.h".which is wroted in ""@babylonjs/react-native-iosandroid-0-69" @WayneKim92

@WayneKim92
Copy link
Author

thanks. I will refer to this when upgrading the version. I am using version 1.7.5 and have no plans to upload it right away.

@bghgary
Copy link
Contributor

bghgary commented Nov 28, 2023

@CedricGuillemet FYI

@WayneKim92
Copy link
Author

WayneKim92 commented Nov 28, 2023

@chenkuangkuang thank you. It works for me. But as far as a build.

image

@WayneKim92
Copy link
Author

ummmmm... Build and run was successful, but an execution error occurred. lol~

image

@CedricGuillemet
Copy link
Contributor

I believe this issue has been introduced with #616
I'm taking a closer look.

@chenkuangkuang
Copy link

@CedricGuillemet can you help this #620 (comment)?

@chenkuangkuang
Copy link

@WayneKim92 the same as me ...

@CedricGuillemet
Copy link
Contributor

@CedricGuillemet can you help this #620 (comment)?

Let me first fix the package, then I'll try to repro the crash.

@chenkuangkuang
Copy link

@CedricGuillemet thanks a lot.This is the versions I use:

"@babylonjs/core": "^6.31.0",
"@babylonjs/loaders": "^6.31.0",
"@babylonjs/react-native": "^1.7.8",
"@babylonjs/react-native-iosandroid-0-71": "^1.7.8",
"react-native": "0.71.14",

@CedricGuillemet
Copy link
Contributor

I've fixed the issue with package 1.8.0 and now I can repro #622
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants