Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.1
2021.2
2021.2.0b10
2022.1
Issue ID
1363294
Regression
No
[WebGL][Android] Compass does not work on Android WebGL
Reproduction steps:
1. Open the attached user's project "MobileSensors.zip"
2. Build for WebGL
3. Use https://app.netlify.com for hosting the WebGL Build
4. Navigate to "edge://inspect/#devices" or "chrome://inspect/#devices"
5. Attach Chrome/Edge DevTools to the device (Open Chrome on the device)
6. Enter the address generated by https://app.netlify.com
7. Tap on the "Compass Test" button
Expected result: Compass works on Android WebGL
Actual result: Compass does not work on Android WebGL
Reproduces on: 2019.4.30f1, 2020.3.18f1, 2021.1.20f1, 2021.2.0b12, 2022.1.0a7
Reproduces with these devices:
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
VLNQA00318, Oneplus 7Pro (GM1913), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
We do not currently support the compass sensor on the WebGL platform. Details of our mobile sensor support here: https://docs.unity3d.com/2021.2/Documentation/Manual/webgl-input.html
We will consider this as a feature request for a future version of Unity.