Search Issue Tracker

By Design



Found in


Issue ID




[iOS][Android] Stencil comparisons don't work on mobile




Priority: 3Not yet prioritized for a release


Severity: 3Secondary functionality broken

Steps to reproduce:
1. Open user attached project
2. Build & Run
3. Move the Player to the edge of the floor and observe that the blob shadow continues going through the edge of the floor

Expected result: blob shadow should not go through the edge of the floor

Reproduced in: 2019.2.0a10, 2018.3.12f1, 2018.3.0b1

Devices under test:
VLNQA00218, Samsung Galaxy Note9 (SM-N960U), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00025, Xiaomi Mi 5s (MI 5s), Android 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00021, Samsung Galaxy S7 (SM-G930F), Android 7.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00010, Samsung Galaxy S8 (SM-G950U), Android 7.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
iPad Air 2 iOS 11.0.3

Response avatar

Resolution Note:

In this case issue was related to the render order of a custom shader. User's shadows were drawn last, meaning that background plane object was already drawn and it was affecting the stencil map (both plane which needs a shadow and the background are using the same material). Changing render order - making it more strict and by making background object being drawn after shadows fixes the issue.

All about bugs

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