Search Issue Tracker

Won't Fix



Found in





Issue ID




[Android] ReadPixels gives different results when using Vulkan on some devices



How to reproduce:
1. Open the attached “IN-43014“ project
2. Connect a device to your machine
3. In the “Build Settings” click “Build And Run”
4. After the “Player” launches click “CAM”

Expected result: The shown image is the same across devices (1st attached image)
Actual result: The shown image is different across devices (2nd attached image)

Reproducible with: 2021.3.26f1, 2022.3.0f1, 2023.1.0b19, 2023.2.0a17

Reproducible on devices:
VLNQA00277 - Asus ROG Phone (ASUS_Z01QD), CPU: Snapdragon 845 SDM845, GPU: Adreno 630, OS: 8.1.0
Samsung Galaxy Tab A8 10.5 (2021) (SM-X200)
Samsung Galaxy Tab S8+ (SM-X800)
Samsung Galaxy Tab S7 FE Wi-Fi (SM-T733)
Samsung Galaxy Tab A 10.1 (2019) (SM-T515)
Samsung Galaxy Tab A 10.1 (2016) (SM-T580)

Not reproducible on devices:
VLNQA00523 - Galaxy S23 (SM-S911U), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 13
VLNQA00520 - Galaxy S22 USA (SM-S901U), CPU: Snapdragon 8 Gen 1 (SM8450), GPU: Adreno 730, OS: 12
Google Pixel 6

Note: All of the devices without a tag were tested by the reporting developer

  1. Resolution Note:

    Won't fix: render texture specifies depth buffer format D32S8, which is not supported by the device. Render texture creation fails and the camera renders to backbuffer instead, then ReadPixels retrieve data from backbuffer instead of render texture. Backbuffer and RenderTexture differ in Y direction flip.
    Workaround: specify render texture with lower depth buffer precision, D24S8 works as expected.

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.