Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.32f1
2019.4
2020.3
2021.1
2021.2
Issue ID
1340927
Regression
No
[Android] The screen is black when using Shader.SetGlobalTexture
Reproduction steps:
1. Download and open the attached project: "blittest.zip"
2. Build and Run the project on an Android device
Expected result: The project runs without any issue
Actual result: The screen is black and nothing is displayed
Reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b3
Could not test with: 2022.1.0a1 (Due to a bug that prevents Building projects to Android)
Reproduced on:
N/A, Oneplus OnePlus 8 Pro (IN2023), Android 11, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
N/A, Oneplus OnePlus 6 (ONEPLUS A6003), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Could not reproduce on:
VLNQA00134, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00025, Xiaomi Mi 5s (MI 5s), Android 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00112, Htc M9 (HTC One M9), Android 7.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
Notes:
- Not reproducible on Linux (OpenGL, Vulkan), Windows (DX11, OpenGL, Vulkan), macOS (Metal, OpenGL), iOS (Metal)
- Could not reproduce on Android with Vulkan graphics API
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (2022.1.X):
Add "ZTest Always" to the custom shader to stop reading depth, this will fix the issue.