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

Android Background Transparency

Open Ryan-Nichol opened this issue 6 years ago • 1 comments

This may be unrelated but I have been trying to get a transparent background for Unity so you can see react-native components underneath the react-native-unity-view for Android, I have got it working for iOS.

For Android I have tried: Preserve frame buffer alpha = true, Set Camera to solid color RGBA { 0, 0, 0, 0 }, Using OpenGLES3

My problem is that the background is simply rendered as black, however if I ran the Unity Export by itself as an apk then it is clearly transparent. I am just wondering if there is something that react-native-unity-view does to the Unity Player that would remove this transparency.

Ryan-Nichol avatar Jan 31 '19 00:01 Ryan-Nichol

Have you solved this problem? I also hope to achieve transparent background, the unity version I use is 2021.3

forget-js avatar Aug 03 '22 06:08 forget-js