Steps to reproduce:
1. Open the attached user's project "3478286-cqa-repro.zip"
2. Make sure the build target is Android
3. Enable "Apply display rotation during rendering" (Player Settings > Android)
4. Set the graphics API to Vulkan
5. Open the "Repro" Scene and observe the green and red quads in the Game view
6. Build and Run the project on an Android device and rotate the device
7. Observe the quads
Actual result: Only the red quad on the left is rendered, the green quad on the right is missing
Expected result: Both the green and the red quads are rendered
Reproducible with: 6000.0.82f1, 6000.3.22f1, 6000.5.9f1, 6000.6.0b9, 6000.7.0a5
Could not test with 6000.0.1f1 due to 'PlayerSettings.Android' does not contain a definition for 'resizeableActivity' exceptions in console
Reproducible with these devices:
VLNQA00580, Xiaomi Redmi Note 8 (M1908C3JGG), Android 11, CPU: Mediatek MT6769Z Helio G85 (12nm), GPU: Mali-G52
VLNQA00615, Samsung SM-S906B (SM-S906B), Android 13, CPU: Exynos 2200, GPU: Ltd.
VLNQA00521, Samsung SM-S908U (SM-S908U), Android 14, CPU: Snapdragon 8 Gen 1 (SM8450), GPU: Adreno (TM) 730
VLNQA00363, Samsung SM-F916B (SM-F916B), Android 12, CPU: Snapdragon 865 SM8250, GPU: Adreno (TM) 650
Testing Environment: Windows 11
Not reproducible on: no other environment tested
Notes:
-Not reproducible in the Editor or when "Apply display rotation during rendering" is disabled
-Reproduces most easily on foldable devices (e.g. Samsung Galaxy Z Fold 5), where the swapchain requires a 90/270 degree pre-transform
-OptimizeProjectionMatrix zeroes matrix elements that hold the scale terms after the pre-transform row swap, so UNITY_MATRIX_P reads back as a zero 2x2 and the RectMask2D soft-mask falloff in the Canvas Shader Graph target collapses to zero