Search Issue Tracker

Fixed in 2019.1.X

Fixed in 2018.4.X

Votes

0

Found in

2018.1.0a3

2018.2.9f1

Issue ID

1085244

Regression

Yes

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

Mobile

-

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

Comments (2)

  1. HL-JamesMiller

    Nov 12, 2019 12:14

    Is there plans to bring this fix to 2018.4?

  2. Triangle_Syb

    Oct 10, 2019 12:47

    it seems that this fix is not in the LTS2018.4 builds, correct?

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.