Search Issue Tracker

Fixed in Unity 2019.1

Votes

0

Found in

2018.2.9f1

Issue ID

1085244

Regression

Yes

[iOS] The Accelerometer stops working when disabling the Gyroscope in Build

Mobile

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

To reproduce:

1. Download attached project "AccelerometerTestProject.zip" and open in Unity
2. Open "SampleScene" scene
3. Build for iOS
4. Deploy the Xcode project to the iOS device
5. Observe that the Accelerometer and Gyroscope works
6. Disable the Gyroscope by clicking on the "Disable Gyroscope" button

Expected results: The Accelerometer always works no matter if the Gyroscope is enabled or disabled
Actual results: The Accelerometer stops working alongside with the Gyroscope

Notes:
- This issue appears only on iOS
- On Android, this issue does not reproduce
- The Accelerometer still does not work when enabling the Gyroscope by clicking on the "Enable Gyroscope" button but Gyroscope starts working again

Tested with:
- iPhone 6s Plus iOS 10.3.2

Reproduced on Unity 2018.1.0a3, 2018.1.9f2, 2018.2.11f1, 2018.3.0b4 and 2019.1.0a3
Not reproduced on Unity 2017.4.12f1, 2018.1.0a2
Regression on Unity 2018.1.0a3

All about bugs

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