Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

2017.3.0p1

Issue ID

986961

Regression

No

[Android]Input.gyro.updateInterval returns incorrectly formatted values on Android

Mobile

-

Steps to reproduce:
1. Open attached project
2. Open "_scene" scene
3. Build for Android
-Gyro Update Interval on Android is returned in picoseconds (~20 000 000 000 000.00000)

Expected result: Input.gyro.updateInterval should be returned in seconds ~0.02 like on iOS

Reproduced with: 5.6.4p4, 2017.3.0f3, 2018.2.0a2

Devices under test:

Reproduced with:
Samsung SM N950U1, OS:7.1.1, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:samsung/greatqlteue/greatqlteue:7.1.1/NMF26X/N950U1UES2BQL2:user/release-keys
Samsung SM G930F, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880, Build:samsung/heroltexx/herolte:7.0/NRD90M/G930FXXU1DQJ3:user/release-keys

iOS tested with:
iPad 2 Mini, iOS 9.2.1 - works as expected

Docs: https://docs.unity3d.com/ScriptReference/Gyroscope-updateInterval.html

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.