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

Mobile

-

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

  1. Resolution Note (2022.1.X):

    Add "ZTest Always" to the custom shader to stop reading depth, this will fix the issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.