Reproduction steps:
1. Open the attached Project “BugRepro”
2. Open “Assets/Scenes/SampleScene” Scene
3. Open Edit > Project Settings > Player
4. In Android settings make sure that Graphics API is set to Vulcan and “Apply display rotation during rendering” is toggled on
5. Build and Run on an Android device
6. Rotate the device around
Expected result: the screen rotates when the device is rotated
Actual result: the screen doesn't rotate with the device when pre-rotation is on
Reproducible with: 2021.3.17f1, 2021.3.28f1, 2022.2.0b9
Not reproducible with: 2020.3.47f1, 2021.3.16f1, 2022.2.0b10, 2022.3.7f1, 2023.1.8f1, 2023.2.0b5, 2023.3.0a1
Fixed in: 2022.2.0b10
Notes: pre-rotation: https://docs.unity3d.com/Manual/vulkan-swapchain-pre-rotation.html
Trying to use OpenGLES3 API would make the application not render and not testable.