Using Unity Behind proxy

Hello!

We are working in big company and we are behind proxy.
We cannot disable it but we can add rules for specific ip addresses and protocols.

Can somebody give me a list with all ip addresses for Unity and Unity services like UCB, Analytics, Package Manager?
I tried new beta 2018 and I cannot open project with shader system because Unity cannot download packages from com.unity.*.

1 Answer

1

I finally was able to do it!

I have to setup few variables:

Right now Package Manager and Unity hub is working!

I have the same problem, unable to access package manager packges bheind proxy. where did you set these settings?

–

Since this is one of the first questions that popup on google when looking for Unity and proxies, adding this quick code snippet to help out: If you want your game or your editor to use the proxy at runtime, you can use the following C# code before any http calls happen Environment.SetEnvironmentVariable("http_proxy", "my_proxy_adr:my_port"); Environment.SetEnvironmentVariable("https_proxy", "my_proxy_adr:my_port");

–

Today: Unity isn't able to use Basic Authentication on all endpoints where it is needed. For example the Package Manager will fail but the Account retrievement will success. You will have to host a local proxy which is attaching this credentials against the external proxy and you must enter the local proxy as reference for Unity.

–