Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2019.4.40f1 | Compatible | Compatible | Compatible |
Supports Unity 2019 or higher.
This asset allows you to access geolocation functionality on the web. You can use Unity’s LocationService for native apps, but it doesn’t work on the WebGL platform. Hence, this plugin.
It works on all browsers, including Safari.
Your build folder must be accessed with https://. Using http:// or file:// won’t work! I recommend using https-localhost or netlify for testing purposes. This is not a requirement of my plugin, it’s just how browsers work.
If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).
GeolocationWebGL
