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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [XR] Input is not registered and headset view is headlocked after entering Play Mode with Meta XR SDK on 6000.0.0b16 and higher
- Crash on RtlLookupFunctionEntry when using 10 or more GameObjects with Articulation Body component in the scene
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices to "2D Colour Attachment"
Resolution Note:
After isolating devices from each other and calibrating them, the direction is correct, the shakiness comes from the device itself.