Search Issue Tracker
By Design
Votes
0
Found in
2017.4.26f1
2018.2.13f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1148857
Regression
No
[Android] Preserve Framebuffer Alpha overwrittes Android theme
Steps to reproduce:
1. Open user attached project
2. Export the project open on Android Studio and inspect the AndroidManifest.xml file
3. Observe that the theme is overwritten from @android:style/Theme.NoTitleBar to @style/UnityThemeSelector.Translucent
Expected result: Preserve Framebuffer Alpha should not overwrite the Android theme
Reproduced in: 2019.3.0a1, 2017.4.26f1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Matching Selectors list not updating correctly with element's pseudo-state updates
- [Android] Crash on vendor/lib64/egl/libGLES_mali.so when Graphics Jobs(Experimental) is disabled and the Player is running on the Google Pixel 6 with the March security patch installed
- Profiler does not profile after building the Project with Autoconnect Profiler Option enabled
- Editor slows down when selecting a script with the [HideInInspector] attribute on arrays with dynamic values
- [XR] Custom Pass not working as intended with Single Pass Instanced when XR is initialized after runtime start
Resolution Note:
Theme overriding may make the "Preserve framebuffer alpha" to work incorrectly, this is why we are forcing it.
If you are sure you want to override the theme, please use this API: https://docs.unity3d.com/ScriptReference/Android.IPostGenerateGradleAndroidProject.OnPostGenerateGradleAndroidProject.html to manipulate the manifest.
Here's the sample code: https://github.com/Over17/UnityAndroidManifestCallback