Topic: Redirect OnlineMaps www through proxy.

We have a problem in our product, most users use it over a proxy, so we need online maps to download content over a proxy server.
But the www class, used according documentation, in unity does not allow using proxy.

Is there already a solution or it is necessary to adapt whole source code to do this ?

Re: Redirect OnlineMaps www through proxy.

Hello.

OnlineMapsWWW.OnInit += OnInitURL;

private string OnInitURL(string url)
{
    return proxy + url;
}
Kind Regards,
Infinity Code Team.

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

Re: Redirect OnlineMaps www through proxy.

Couldn't find that Class in version 2.3.
Its and old company project.
And it's kinda impossible, tried to duplicate the project and update to version 3.x, got more then 2700 errors.

Is there another way ??

Re: Redirect OnlineMaps www through proxy.

Hmm ...
I looked at the backup in the repository, and you do not have a way to use a proxy without modifying Online Maps source code.
You need to modify OnlineMapsUtils.GetWWW method to add a proxy.

Kind Regards,
Infinity Code Team.

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

Re: Redirect OnlineMaps www through proxy.

I have the same problem.
But I think WWW doesnt allow a proxy, specially with yours work with credentials.
Also, unity will stop using WWW in 2019.x, dont know if is still using correctly in 2018.4;
Better trying to switch to UnityWebRequest or something else.