Some organizations use a web proxy, which is an intermediary server between users and the internet resource they’re requesting. Organizations use web proxies for several reasons, including security, privacy, and network efficiency.
If you are deploying Unity in an environment that requires internet access through a web proxy, you might need to configure the web proxy, client computers, or both. Depending on your environment, this configuration includes some or all of these tasks:
Starting with Unity Editor 2023.1, the automatic proxy configuration feature lets you use Unity applications seamlessly when they need to communicate through a web proxy. Unity applications can communicate with the web proxy without interruption and without installing additional software. The amount of configuration required depends on the following factors:
Use the following table to decide which solution matches your environment:
Operating system | Unity version | Proxy authentication | Solution | Other information |
---|---|---|---|---|
Windows | Editor 2023.1 or later and Hub version 3.4.2 or later |
Accepts basic authentication | You must be able to store proxy information in the operating system settings or in environment variables. | |
Windows | Editor 2023.1 or later and Hub version 3.4.2 or later |
Doesn’t accept basic authentication, or doesn’t require authentication |
|
You must be able to store proxy information in the operating system settings or in environment variables. |
Windows | Editor 2022.x or earlier or Hub 3.4.1 or earlier |
Accepts basic authentication | Automatic proxy configuration isn’t fully supported before version 2023.1. | |
Windows | Editor 2022.x or earlier or Hub 3.4.1 or earlier |
Requires authentication but doesn’t accept basic authentication |
|
Automatic proxy configuration isn’t fully supported before version 2023.1. |
macOS, Linux | Any | Any |
|
Check if your web proxy uses SSL inspection, which some enterprises use to inspect the contents of secure (TLS) requests. If your enterprise uses SSL inspection, configure client computers to trust the web proxy certificate.
Check if your web proxy prevents downloading of executable files, or requires user confirmation before downloading executable files. If so, you need to configure the web proxy to allow this traffic on specific endpoints. Otherwise, users won’t be able to run the installers that the Unity Hub uses to install components required by the Unity Editor. For details, refer to Endpoints that download executable files.
HTTP
keyword isn’t supported. Instead, use the PROXY
keyword to specify a proxy that communicates over HTTP.