Search Issue Tracker

Fixed in 2020.1

Votes

1

Found in

2017.4.0f1

2018.4.0f1

2019.2.0a1

2019.2.1f1

2019.3.0a1

2020.1.0a1

Issue ID

1177775

Regression

No

[iOS 13.0] Rotations around Device Y-axis does not work when rotating a Device

iOS

-

The API for the Gyroscope doesn't work correctly in current (Beta) versions of iOS 13 and iPadOS 13. Running the same code on iOS 12.x devices run just fine, but on iOS 13 and iPadOS 13 devices, the functionality of the Gyroscope is completely lost: rotations around devices Y-axis do not work at all, and in Landscape mode there's a quick flip between positive X direction and negative X direction when moving from negative Y to vertical Y or vice versa.

To reproduce:

1. Download attached "GyroscopeTest.zip" project and open in Unity
2. Build for iOS
3. Deploy the Xcode project to the iOS device
4. Rotate Device to the Left and Right

Expected results: Scene rotates as you rotate Device
Actual results: Scene does not rotate when you rotating Device

Notes:
- This issue happens only on iOS with 13.0 and above version
- This issue does not reproduce on Android (Mono and IL2CPP) and iOS 12.x and lower

Tested with:
- iPhone 7, iOS: 12.3.1 - Not Reproduced
- iPhone 8 Plus, iOS: 12.0 - Not Reproduced
- iPhone X, iOS: 11.3.1 - Not Reproduced
- iPhone XR, iOS: 12.0 - Not Reproduced
- iPad Pro 3rd Gen, iOS: 13.0 - Reproduced

Reproduced on Unity 2017.4.0f1, 2017.4.32f1, 2018.4.8f1, 2019.2.6f1, 2019.3.0b3 and 2020.1.0a4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.