UWP Unity Engine WWW proxy

How to set proxy settings WWW ?
Sample does not work:

  • IEnumerator checkInternetConnection(Action action)
  • {
  • WWW www = new WWW(“http://google.com”);
  • yield return www;
  • if (www.error != null) {
  • action (false);
  • } else {
  • action (true);
  • }
  • }

Sample work fine:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
request.Timeout = 5000;
request.Credentials = CredentialCache.DefaultNetworkCredentials;

Or I can not use WWW
how it will look like checkInternetConnection ?
Interested in the line yield return www;

Proxies are not supported in WWW on UWP platform.

Why doesn’t it take the default proxy settings (Like any Internet (Client) in the UWP)?

Many of games are used in schools where participates proxy settings.(it is very important for me)

On android and IOS, there is no such problem, they are working normally with proxy settings, this bug WWW in UWP…

This problem will be solved in the future?

Example Internet (Client) in the UWP:

HttpClientHandler handler = new HttpClientHandler();
handler.UseDefaultCredentials = true;
HttpClient client = new HttpClient(handler);

HttpWebRequest request = (HttpWebRequest)WebRequest.Create(URL);
request.Credentials = CredentialCache.DefaultNetworkCredentials;

up

I agree we should support this. Could you file a bug report so it doesn’t get lost?

Greetings, wondering if a bug report was filed for this, and if so, where can I vote and track it?

My initial trials seemed to indicate that UnityWebRequest does actually use the device proxy by default, so does this mean that it fails only with WWW or when using UWP ?

I don’t believe we ever received a bug report. Could you file one?