Search Issue Tracker

By Design



Found in


Issue ID




[OpenGLES][Android] Camera clear flag as Depth only shows black background (Tegra and Mediatek chipsets not affected)

Mobile Rendering


Steps to reproduce:
1. Open attached project
2. Build & Run to an Android device
3. Press enable background and observe the black background

Expected result: Camera clear flag as Depth only should not show black background on Android OpenGLES

Reproduced in: 2019.1.0a13, 2018.2.20f1, 2017.4.17f1

Tested devices reproduced on OpenGLES2/OpenGLES3 (no repro on Vulkan):
VLNQA00003, Razer Razer Phone (Phone), Android 7.1.1, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00118, Google Pixel 2 XL (Pixel 2 XL), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00006, Samsung Galaxy S7 (SM-G930F), Android 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00229, Oneplus OnePlus6T (ONEPLUS A6013), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00138, Huawei P20 Pro (CLT-L29), Android 8.1.0, CPU: HiSilicon Kirin 970, GPU: Mali-G72
No repro:
VLNQA00053, Asus Nexus 7 (2012) (Nexus 7), Android 5.1.1, CPU: nVIDIA Tegra 3 T30L, GPU: NVIDIA Tegra 3
iPhone X, iOS: 11.3.1

  1. Response avatar

    Resolution Note:

    By design: Script uses GL low level calls in a OnPreCull() function. At that point the camera's render target is not set up yet, so the script commands render to undefined target.

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.