Version: 2023.1
言語: 日本語
Enable Unity installation by standard users (Windows)
Enable automatic proxy configuration

Using Unity through web proxies

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:

Preparing your environment so Unity applications can use your web proxy

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:

  • Unity version and operating system: Starting with Unity Editor 2023.1, Unity applications can access web proxy configuration from the Windows operating system. Earlier versions and other operating systems require extra configuration.
  • Authentication type: Check if your proxy supports basic authentication (username and password), or if it uses a SPNEGO mechanism and a protocol, such as Kerberos or NTLM.

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

Interception of secure communication by the web proxy

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.

Allow the web proxy to download executable files

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.

既知の問題点

  • For organizations that configure the web proxy with a proxy auto configuration (PAC) file, the HTTP keyword isn’t supported. Instead, use the PROXY keyword to specify a proxy that communicates over HTTP.

その他の参考資料

Enable Unity installation by standard users (Windows)
Enable automatic proxy configuration