Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0a1

2018.3.0a5

Issue ID

1064476

Regression

No

[Android] Black pixels in the middle of the screen when using Lens Distort shader effect on Camera

Mobile

-

1. Open the attached "DotRepro" project and "SampleScene"
2. Enter playmode, notice that there are no black pixels in the middle of the screen
3. Build & Run to Android device

Expected result: There are no black pixels in the middle of the screen
Actual result: There are some black pixels in the middle of the screen

Regression introduced in - 2018.3.0a1
Reproducible with - 2018.3.0a7, 2018.3.0a1
Not reproducible with - 2018.2.1f1

Note - Happens with OpenGLES3, OpenGLES2 and Vulkan graphics API's

DUT:
Reproducible with:
Google Pixel XL*, OS:9, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:google/marlin/marlin:9/PPP4.180612.004/4838310:user/release-keys
Razer Phone*, OS:8.1.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:razer/cheryl/cheryl_ckh:8.1.0/OPM1.171019.011-CKH-180509/5037:user/release-keys
Google Nexus 6P*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 430, Build:google/angler/angler:8.0.0/OPR6.170623.019/4299446:user/release-keys
Xiaomi MI NOTE Pro*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 430, Build:Xiaomi/leo/leo:7.0/NRD90M/7.11.2:user/release-keys

Not reproducible with:
Samsung SM N950F*, OS:7.1.1, CPU:arm64-v8a, GPU:Mali-G71, Build:samsung/greatltexx/greatlte:7.1.1/NMF26X/N950FXXU3BRA8:user/release-keys
Samsung SM G928F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T760, Build:samsung/zenltexx/zenlte:7.0/NRD90M/G928FXXS3CQL2:user/release-keys

  1. Resolution Note (2018.3.X):

    Black area at the center of the screen is caused by division by zero, which is due to insufficient precision used in the shader variables.
    Updating UV coordinates and other variables from half precision to float fixes this 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.