react-native-unity-demo
react-native-unity-demo copied to clipboard
Android Background Transparency
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.
Have you solved this problem? I also hope to achieve transparent background, the unity version I use is 2021.3