Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4
2019.4
2020.1.17f1
2020.3
2021.1
2021.2
Issue ID
1338483
Regression
No
LocationService does not ask user for permission to retrieve geolocation data when on WebGL Build
How to reproduce:
1. Open the attached project "GeolocationWebGL.zip"
2. Switch Platform to WebGL
3. Build And Run
Expected result: Permission for geolocation from the user is asked and shown on the screen
Actual result: Permission for geolocation from the user is not asked and no data is retrieved
Reproducible with: 2018.4.35f1, 2019.4.27f1, 2020.3.10f1, 2021.1.9f1, 2021.2.0a17
Could not test with: 2021.2.0a18 (Unable to run the Build)
-
Marks4
Aug 24, 2021 12:58
I created an asset to deal with this: https://assetstore.unity.com/packages/tools/integration/geolocationwebgl-199649
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
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
Resolution Note:
Thank you for raising this issue. We will be tracking this as a future feature to add to the WebGL Platform.