Topic: Google autocomplete doesn't work in WebGL.

Google autocomplete doesn't work in WebGL.
I get an error - "UNKNOWN ERROR". There is nothing else in the xml answer sad
The same code for Android works without problems.
You can check on your example FindAutocompleteExample.cs

Re: Google autocomplete doesn't work in WebGL.

Hello.

This is due to CORS.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

To work around this you need to redirect requests to Google APIs through your proxy.
Example:
https://infinity-code.com/atlas/online- … IHook.html

If you need an example proxy script, please email me (support@infinity-code.com) and I will send you an example proxy.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.