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

Android Background Transparency #31

Open
Ryan-Nichol opened this issue Jan 31, 2019 · 1 comment
Open

Android Background Transparency #31

Ryan-Nichol opened this issue Jan 31, 2019 · 1 comment

Comments

@Ryan-Nichol
Copy link

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.

@forget-js
Copy link

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

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

2 participants