If your environment doesn’t support automatic proxy configuration, you can use environment variables to identify your web proxy.
HTTP_PROXY
and HTTPS_PROXY
are the environment variables you’ll use to identify your web proxy. If your enterprise uses a Unity Licensing Server, set the NO_PROXY
environment variable as well. Whether you set these environment variables manually or use a more scalable method, they must be set on each device that communicates through the web proxy.
Important: Specifying proxy configuration in environment variables will override automatic proxy configuration.
The environment variables you use and the values you assign vary, based on your environment. Use the guidance in the following section or sections that best describe your situation.
If your environment variable definitions can exclude authentication information, the proxy value takes the following form:
http://<proxy_name_or_IP_address>:<proxy_port>
Example: http://webproxy.mycompany.com:8080
Important: Passwords are insecure if you use them in environment variables.
If your environment variable definitions need to include authentication information, the proxy value takes the following form:
http://<username>:<password>@<proxy_name_or_IP_address>:<proxy_port>
Example: http://DanaLee:My1337password@webproxy.mycompany.com:8080
If your enterprise uses a Unity Licensing Server, set the NO_PROXY
environment variable, by assigning the name or IP address of your licensing server.
Different operating systems have multiple methods for setting environment variables. However, creating a command file is one method that works on all operating systems sets the environment variables each session.
Now that you know which environment variables to use for your environment and how to set their values, use them to create a command file.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.