Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2017.4.30f1
2018.4
2019.1
2019.2
2019.3
Issue ID
1175191
Regression
No
[Android] Screen resolution is no longer being updated after calling Screen.SetResolution()
Resolution is no longer updated when adjusting screen split or changing device orientation
To reproduce:
1. Open attached project "SetResolutionRepro.zip"
2. Build and Run for Android device, that supports split-screen (Android 8+)
3. While in application, split screen with any other mobile app
4. Focus the built application and press "SetResolution800x600" button
5. Try adjusting the split boundary to different split ration
6. Observe the printed resolution
Result: resolution is no longer being updated after executing Screen.SetResolution()
Reproduced in: 2017.4.0f1, 2017.4.32f1, 2018.4.6f1, 2019.1.14f1, 2019.2.1f1, 2109.3.0a12
Reproduced on devices:
VLNQA00125, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540 - split and orientation changes not updated
VLNQA00121, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72 - split screen changes not updated
VLNQA00272, Samsung Galaxy S10+ (SM-G975U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640 - split screen changes not updated
VLNQA00224, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830 - split screen changes not updated
VLNQA00123, Google Pixel 2 XL (Pixel 2 XL), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540 - split screen changes not updated
VLNQA00021, Samsung Galaxy S7 (SM-G930F), Android 7.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880 - split screen changes not updated
VLNQA00012, Samsung Galaxy S6 (SM-G920F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760 - split screen changes not updated
Devices that do not update the split screen resolution even without using Screen.SetResolution()
VLNQA00121, Samsung Galaxy S9
VLNQA00021, Samsung Galaxy S7
VLNQA00012, Samsung Galaxy S6
Note1: so far only device with split
Note2: resolution is not updated my multiple variables, including: Screen.currentResolution, Screen.width/Screen.height, Display.main.renderingWidth/Display.main.renderingHeight
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (2019.3.X):
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.