Version: Unity 6 Beta (6000.0)
Language : English
Trusting the web proxy security certificate
Create a command file to set environment variables and open applications

Use environment variables to identify your web proxy

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.

Proxy environment variable values that exclude authentication information

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

Proxy environment variable values that include authentication information

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

Proxy environment variable value for Unity Licensing Server

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.

Next steps

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.

Additional resources

Trusting the web proxy security certificate
Create a command file to set environment variables and open applications
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961