Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b20
Issue ID
803581
Regression
Yes
Reading screen size in Awake() or Start() prints out incorrect values on iPhone 6 Plus
Steps to reproduce:
1) Open the attached project.
2) Build the project for iOS.
4) Deploy the project to iPhone 6+ via Xcode.
5) Open the app.
- There's a small label in the top left corner. It shows the Screen.width and Screen.height recorded in Awake() function in the first line and the same parameters recorded in OnGUI(). The results from both methods are different. If Awake() is changed to Start() in ReportResolution.cs, the issue still remains.
The resolution shown is 2208x1242 instead of 1920x1080.
This issue seems to only reproduce on iPhone 6 Plus.
Reproduced on:
5.5.0a1, 5.4.0b21, 5.4.0b1
Did not reproduce:
5.3.5p3, 5.2.4f1
iOS 8.0
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
isnotinvain
Aug 13, 2016 07:37
I am still seeing this in 5.4.0f, is that expected?