Search Issue Tracker

By Design

Votes

0

Found in

2020.3.47f1

2021.3.22f1

2022.2.13f1

2023.1.0b11

2023.2.0a9

Issue ID

UUM-32606

Regression

No

[Android] Compass is shacking and showing incorrect directions on Android devices

--

-

*Steps to reproduce:*
# Open the "[Sensors-TestProject|https://github.cds.internal.unity3d.com/unity/Sensors-TestProject]" project
# Go to File > Build Settings and select Android Platform
# Build and Run to the device
# In the app press on "Compass Test" button
# Approve permissions and observe the compass

*Expected:* Compass is showing correct directions, movement is smooth
*Actual:* The compass is showing wrong directions, and movement is shaky

*Reproducible with:* 2020.3.47f1, 2021.3.22f1, 2022.2.13f1, 2023.1.0b11, 2023.2.0a9

*Reproducible with devices:*
* VLNQA00460 - Google Pixel 6 (Pixel 6), CPU: Google Tensor (Whitechapel), GPU: Mali-G78, OS: 13
* VLNQA00467 - Galaxy S21 Ultra 5G (SM-G998B), CPU: Exynos 2100, GPU: Mali-G78, OS: 12
* VLNQA00230 - OnePlus 6T (ONEPLUS A6013), CPU: Snapdragon 845 SDM845, GPU: Adreno 630, OS: 9.0.0
* VLNQA00119 - Xiaomi Mi 5 (MI 5), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 8.0.0
* VLNQA00090 - Samsung Galaxy S8 (USA) (SM-G950U), CPU: Snapdragon 835 MSM8998, GPU: Adreno 540, OS: 7.0.0

*Not reproducible with devices:*
* VLNQA00352 - iPhone 12 Pro (MGML3ET/A), CPU: A14 Bionic, GPU: Apple designed, OS: 16.2
* VLNQA00258 - iPhone Xs Max (MT502ET/A), CPU: A12 Bionic, GPU: Apple designed, OS: 14.4
* VLNQA00346 - iPad Air (4th generation), OS: 14.3

*Notes:*
* On tested iOS devices integrated compass apps show different directions than some Android devices, but the Unity app compass and already integrated app compass directions match

  1. Resolution Note:

    After isolating devices from each other and calibrating them, the direction is correct, the shakiness comes from the device itself.

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.