UnityWebRequest doesn't work with proxy set with Proxy auto-config script

We have corporate clients that use a pac script (Proxy auto-config) to setup their proxies.
Whenever a UnityWebRequest is made an error is added into Player.log
cURL Error (7): couldn’t connect to host
From the little information I could find on the internet it would seem that Unity uses libcurl to set proxies, and this doesn’t support Javascript, which is the language that pac files are written in.
I found that it’s possible to set UNITY_PROXYSERVER in the environment variables with a static proxy, but not all clients have admin rights, and if the proxy setup changes then all the computers will need to be updated.

Is there any way to make UnityWebRequest work correctly with the pac (Proxy auto-config) setup?

Unity should pick proxy configured on operating system (static, automatic doesn’t work).
The environment variable is other option (you don’t have to set it system wide, can be set on user).

So what I am asking is how to setup a proxy that uses an automatic setup, since this is the case for our clients.

Is it possible to set the UNITY_PROXYSERVER to read an online file instead of a static path?

I don’t think this is possible ATM.

Is there a way to change the proxy with code?

If there’s a paid plugin, or an idea how to create one, I would be interested.

So if I understand correctly, this is a bug in Unity that has no solution, and Unity doesn’t plan on fixing it.

Using pac files is common practice in most enterprise networks. This bug means Unity can’t use UnityWebRequest on any of these networks.

Is this a bug that will be fixed in future versions of Unity?

Any official response on this? I’m facing the same issue. Also would changes suggested on link below able to overcome this issue?

Whatever changes I make either on machine.config or web.config (after compiled app) doesn’t loading when starting the application. Would changes on those files be picked up on runtime or does it need to compile it again?

This feature is not supported.