Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.3.36f1
2022.3.21f1
2023.2.14f1
Issue ID
UUM-66945
Regression
No
[Android] The Player screen appears stretched when the application is started in landscape mode
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Build and run the project (File > Build And Run)
3. When the Unity logo appears, rotate the device to landscape mode (Or start the application in landscape mode)
4. Observe the Player
Expected result: The Player screen proportions are intact
Actual result: The Player screen appears stretched
Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.14f1
Could not test with: 6000.0.0b12 (“error CS0535: 'ExternalTools' does not implement interface member” compilation error)
Reproducible environment: macOS Sonoma 14.3.1 (Intel), Windows 11 (user’s)
Not reproducible environment: No other environment tested
Reproducible with these devices:
VLNQA00175, Samsung Galaxy Note9 (SM-N960F), Android 10, CPU: Exynos 9 (9810), GPU: Mali-G72
VLNQA00519, Google Pixel 4 (Pixel 4), Android 12, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00057, Htc One M9+ (HTC_M9pw), Android 6.0, CPU: MediaTek Helio X10 MT6795T, GPU: PowerVR Rogue G6200
VLNQA00146, Htc 10 (HTC 10), Android 7.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530
VLNQA00372, Samsung SM-G991U (SM-G991U), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Poco X6 Pro, Redmi Note 8 Pro, Lenovo P11 Pro Gen 2 (user’s)
Not reproducible with these devices:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
Notes:
- When the device is rotated back to portrait mode the Player screen appears horizontally compressed
- The issue is not reproducible on macOS Sonoma 14.3.1 (Intel) (Buildtime Simulator) (Runtime)
- Workaround: start the application in portrait mode
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Resolution Note:
The main issue is the user code (the script is in Assets\Scripts\PerformanceHelper.cs). The user is changing the screen resolution with the wrong aspect ratio. Probably the developer is not aware that the awake function is executed anyway even if the component is disabled if placed on an active GameObject as mentioned in the unity manual https://docs.unity3d.com/ScriptReference/MonoBehaviour.Awake.html.
On Unity 6 has also been fixed a compiler shader issue caused by an external blur plugin that is not part of the unity packages. The fixed project runs on Unity 6 and is available to download (please contact customer support).