Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.18f1
2020.2
2021.1
2021.2
Issue ID
1314062
Regression
No
[Android] CopyDepthPass not working on some Android devices
How to reproduce:
1. Open the attached "Repro_MSAADepthCopy_Android.zip" Project
2. Attach the RepoRendererData in RepoRenderer asset in case it becomes unattached
3. Build and run it on Android Device
Expected Behavior: The black and white screen is rendered with shapes
Actual Behavior: The screen is black
Reproducible with: 2019.4.20f1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a4
Could not test with: 2018.4 due to package downgrade errors
Reproducible devices:
GLES3:
VLNQA00012, Samsung Galaxy S6 (SM-G920F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00096, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00286, Meizu - (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00122, Samsung Galaxy S9 (SM-G960F), Android 10, CPU: NOT FOUND, GPU: Mali-G72
Vulkan(white screen):
VLNQA00286, Meizu - (PRO 5), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00012, Samsung Galaxy S6 (SM-G920F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
Not Reproducible devices:
GLES3:
VLNQA00334, Xiaomi Mi A3 (Mi A3), Android 10, CPU: Snapdragon 665 SM6125, GPU: Adreno (TM) 610
VLNQA00229, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00321, Xiaomi MI 9 (MI 9), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Vulkan(same as in editor):
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00229, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00334, Xiaomi Mi A3 (Mi A3), Android 10, CPU: Snapdragon 665 SM6125, GPU: Adreno (TM) 610
VLNQA00096, Samsung Galaxy S8 (SM-G950F), Android 8.0.0, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
Note:
- The graphic may break on some versions since this is a very specific case
- Looks like it is Mali specific issue
- Could not reproduce on Vulkan
- On GLES it seems that there is a clear difference between mali and Adreno devices, but on Vulkan, it seems that some devices have a white screen, and other display the same as in the editor
- Images attached "WithVulkan.png" and "Expected.png"
- No repro on iOS
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (2021.2.X):
The project needs to use bindMS also for the color attachment when using OpenGL ES.
The issue on very old Vulkan drivers on Mali is most likely a driver bug. We don't support those drivers anymore in Unity 2021 and also don't recommend to use Vulkan on Android 7.x in older versions of Unity.