react-native-unity icon indicating copy to clipboard operation
react-native-unity copied to clipboard

Unity app with AR camera functionality

Open uasad1099 opened this issue 2 years ago • 6 comments

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.

uasad1099 avatar Oct 19 '22 15:10 uasad1099

Does the Unity app works by itself?

I have ARFoundation working on Android and IOS with this module.

joaquinlom avatar Nov 08 '22 20:11 joaquinlom

Which version of Unity and ARFoundation did you get it to work with?

yosun avatar May 16 '23 20:05 yosun

Same issue here @uasad1099

sujithln avatar Jun 05 '23 11:06 sujithln

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.

rcorrie avatar Jan 08 '24 20:01 rcorrie

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.

serdarcevher avatar Jan 20 '24 13:01 serdarcevher

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.

sael-you avatar Mar 14 '24 02:03 sael-you