react-native-unity
react-native-unity copied to clipboard
Unity app with AR camera functionality
1- Unity app with simple text screen works in react native app 2- Unity app with camera functionality shows the blank page (IOS)
Anyone know something about that - how it will work?
I already get the camera permission in the react native app.
Does the Unity app works by itself?
I have ARFoundation working on Android and IOS with this module.
Which version of Unity and ARFoundation did you get it to work with?
Same issue here @uasad1099
Are you guys granting the Camera permission? We've noticed that the Unity game itself cannot properly request permissions, instead the RN wrapper app needs to do this.
Are you guys granting the Camera permission? We've noticed that the Unity game itself cannot properly request permissions, instead the RN wrapper app needs to do this.
We've tried this approach - although the camera permissions is already asked and granted when the user uploads a profile photo, the camera still remains black in the AR view (for Android). iOS version is fine.
I'm almost sure some permissions are overwritten somewhere, but couldn't find where it is happening.
i also get Blank page on iOS (White page) using Vuforia, i know that the unity scene is running properly somehow because i have react native button that triggers a screenshot function of the camera feed in unity, and i get exactly what should be shown, there's just this white overlay on top or i don't know, and i can't figure it out.