Search Issue Tracker

Fixed

Fixed in 2021.3.38f1, 2022.3.24f1, 2023.2.18f1, 2023.3.X

Votes

5

Found in

2021.3.33f1

2022.3.15f1

2023.2.3f1

2023.3.0a17

Issue ID

UUM-58287

Regression

No

ReadPixels() uses different Y positions when built with Vulkan

--

-

Reproduction steps:
1. Open the attached project "ReproProj" with Android Platform
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Go to Edit > Project Settings > Player > Other Settings > Graphics APIs
4. Remove all but Vulkan
5. Build and Run on an Android device
6. In Player, click the top left Button with the text “CAM“
7. Observe the texture that is just below the Button and compare it to the full texture displayed in the bottom right of the screen

Expected result: The top right of the texture is drawn
Actual result: The bottom right of the texture is drawn

Reproducible with: 2021.3.33f1, 2022.3.15f1, 2023.2.3f1, 2023.3.0a17

Reproducible on:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Not reproducible with OpenGLES3 Graphics API
- Reproducible with Mono and IL2CPP Scripting Backends
- Reproduces in Play Mode and Windows Standalone Player if Graphics API is set to Vulkan

Comments (1)

  1. rumorgames

    Mar 11, 2024 17:22

    Why was bug ”CULLING MASK” IS BEING IGNORED WHEN USING CAMERA’S DEPTH closed as a duplicate of this bug? They don't appear to be related. That bug is an issue in Unity Editor and Player on macOS running on Apple silicon while this is apparently a problem with Android devicess using Vulcan? What does the culling mask issue have to do with this, and how will a fix, and any future regressions, be properly tracked if it is hidden under an unrelated bug?

    https://issuetracker.unity3d.com/issues/culling-mask-is-being-ignored-when-using-cameras-depth

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.