Search Issue Tracker

Fixed

Fixed in 2021.3.30f1

Votes

0

Found in

2021.3.29f1

Issue ID

UUM-44759

Regression

No

[Backport] [Android] UNITY_DISPLAY_ORIENTATION_PRETRANSFORM is always 0 when rotating the device

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Build And Run
4. Rotate the device

Expected result: The quad is always red
Actual result: The color of the quad changes

Reproducible with: 2021.3.29f1
Not reproducible with: 2022.3.0b3, 2023.1.7f1, 2023.2.0b3

Reproducible with devices:
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, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76

Testing environment: Windows 10 Enterprise 21H2

Notes:
- UNITY_DISPLAY_ORIENTATION_PRETRANSFORM seems to be always = 0
- Make sure the project is set to use Vulkan
- Make sure “Apply display rotation during rendering“ is enabled

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.