Search Issue Tracker

In Progress

Fix In Review for 2021.3.38f1

Fixed in 2022.3.25f1, 2023.2.19f1, 6000.0.0b14

Votes

0

Found in

2021.3.35f1

2022.3.20f1

2023.2.12f1

2023.3.0b9

6000.0.0b11

Issue ID

UUM-64955

Regression

No

[Android] The values returned by "Input.compass.timestamp" on Android do not correspond to the timestamp format (in seconds since 1970) as indicated in Unity's Documentation

--

-

Reproduction steps:
1. Open the attached project “ReproProject”
2. Build And Run on Android
3. In the Android Logcat, observe the timestamp values for both frame delta and compass delta

Expected result: The values returned are not timestamps in seconds since 1970
Actual result: The values returned are measured in nanoseconds
”frame delta: 0.0332918300 ... compass delta: 39999997.0000000000
frame delta: 0.0333323500 ... compass delta: 20000039.0000000000
frame delta: 0.0332847500 ... compass delta: 40000689.0000000000
frame delta: 0.0333106000 ... compass delta: 39999590.0000000000
frame delta: 0.0333193500 ... compass delta: 40000038.0000000000”

Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.12f1, 2023.3.0b9

Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
VLNQA00132 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1

Reproducible on: macOS(Intel) 14.2.1, Windows 10 (10.0.19045) 64bit (by user)
Not reproducible on: No other environment tested

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.