Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2017.4.13f1
Issue ID
1095595
Regression
No
[iOS] Incorrect screen resolution returned when launch screen is set to 'None' on iPhone XS/XR
If the iPhone Launch Screen is set to 'None' in the Player Settings when the application is built and run on an iPhone XS Max the PointerEventData.delta X and Y components in IDragHandler.OnDrag will always be multiples of 3. This is very unhelpful as it means the smallest possible drag will always have a magnitude of 3 instead of 1 which makes drag controls very jerky and imprecise
To reproduce:
1. Download attached project "drag-test.zip" and open in Unity
2. Open "drag-test-scene" scene
3. Go to Player Settings and set iPhone Launch Screen is set to None
4. Build for iOS
5. Deploy the Xcode project to iPhone XS Max
6. Drag across the screen
Expected results: Observe the X and Y components of the PointerEventData.delta in OnDrag printed out in the middle of the screen and these are multiples of 1
Actual results: Observe the X and Y components of the PointerEventData.delta in OnDrag printed out in the middle of the screen and these are always multiples of 3
Notes:
- On iPhone XR it seems that values multiples of 2
- Could not check on Unity 2018.3.0a7, 2018.3.0b6 and 2019.1.0a6 because Build crashes on launch
- Stacktrace is shared in Comments section
Tested with:
- iPhone 7s Plus iOS 12.0 - Not Reproduced
- iPhone X iOS 12.1 - Not Reproduced
- iPhone XS iOS 12.1 - Not Reproduced
- iPhone XR iOS 12.0 - Reproduced
- iPhone XS Max iOS 12.0 - Reproduced
Reproduced on Unity 2017.4.0f1, 2017.4.13f1, 2018.1.9f2, 2018.2.13f1 and 2018.3.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
Add comment