Search Issue Tracker

By Design



Found in


Issue ID




[Android][OpenGL] MSAA doesn't work when Camera Clear Flags field is set to "Don't Clear"

Mobile Graphics


To reproduce:
1. Open the QA's attached project
2. Build and run on Android device
3. Observe the thin line

Expected result: Anti Aliasing is being used making the line look smooth
Actual result: Anti Aliasing is not being used

Reproduced with: 2017.4.15f1, 2018.2.16f1, 2018.3.0b10, 2019.1.0a9

Testen on:
VLNQA00001, Google Pixel 2, Android 8.1.0, Snapdragon 835 MSM8998, Adreno (TM) 540
VLNQA00138, Huawei P20 Pro, Android 8.1.0, HiSilicon Kirin 970, Mali-G72
VLNQA00021, Samsung Galaxy S7, Android 7.0, Exynos 8 Octa 8890, Mali-T880
VLNQA00096, Samsung Galaxy S8, Android 8.0.0, Exynos 9 Octa 8895, Mali-G71

This only reproduces on android and when using OpenGL. Does not reproduce on iOS, does not reproduce on Android when using Vulkan.

  1. Resolution Note (2019.2.X):

    Scene contains only single Camera with clear flag(Don't clear) which leads to undefined depth buffer values at startup, which means that next rendered pixels are not guaranteed to pass the depth test. Either entirely disable depth & stencil buffers, or make your first camera to clear at least the depth buffer.

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.