A tiny Windows launcher that starts Unity Hub with proxy-related environment variables set for that process. It is useful when Unity Hub needs to reach Unity services through a local proxy, without changing system-wide proxy settings.
- Zero dependencies: one
.cmdfile. - Sets
HTTP_PROXY,HTTPS_PROXY, lowercase proxy variables,NO_PROXY, andUNITY_NOPROXYfor Unity Hub. - Passes Chromium's
--proxy-serverflag to Unity Hub. - Supports command-line arguments and environment variables.
- Does not permanently modify the Windows environment or registry.
Download or clone this repository, then run:
launch-unity-hub-proxy.cmdBy default, the launcher uses:
Proxy: http://127.0.0.1:7890
Unity Hub: %ProgramFiles%\Unity Hub\Unity Hub.exe
After Unity Hub starts correctly, it should be able to load the home page, setup guide, installs, or resource content through your configured network environment.
Use a custom proxy:
launch-unity-hub-proxy.cmd http://127.0.0.1:10809Use a custom Unity Hub path:
launch-unity-hub-proxy.cmd http://127.0.0.1:7890 "C:\Program Files\Unity Hub\Unity Hub.exe"Show help:
launch-unity-hub-proxy.cmd --helpYou can configure the launcher without command-line arguments:
set UNITY_HUB_PROXY=http://127.0.0.1:7890
set UNITY_HUB_PATH=C:\Program Files\Unity Hub\Unity Hub.exe
set UNITY_HUB_NO_PROXY=localhost,127.0.0.1,::1
launch-unity-hub-proxy.cmdCommand-line arguments take precedence over environment variables.
If you are not sure which proxy URL or Unity Hub path to use, you can send this repository link or the README content to an AI assistant and copy this prompt:
Please help me use Unity Hub Proxy Launcher on Windows.
My goal is to start Unity Hub through a local proxy.
Ask me for the required information step by step, such as my Unity Hub install path and local proxy port, then give me the final command to run.
Do not change the system-wide proxy. Do not modify the Windows registry. Only use launch-unity-hub-proxy.cmd from this project.
If your AI tool cannot read web pages, copy the README content directly into the chat.
Unity also documents proxy configuration for Unity environments: Use Unity through web proxies.
- The proxy only applies to the Unity Hub process started by this script and child processes inheriting its environment.
- Make sure your local proxy application is already running before launching Unity Hub.
- If Unity Hub is installed in a non-default location, pass the path as the second argument or set
UNITY_HUB_PATH. - This project does not provide a proxy service and does not bypass licensing, payment, account, or access-control mechanisms.
MIT License. See LICENSE.
