如何绕过Unity CN并访问国际版Unity Hub

How to Bypass Unity CN and Access International Unity Hub

Posted by Gumc on August 27, 2025

官方参考 论坛参考

查看代理端口

  • Clash用户:
1
2
3
4
打开Clash
查找 “端口” 或 “HTTP端口” 设置
常见Clash端口:7890、7891或1080
你的代理地址将是:http://127.0.0.1:[端口号]
  • Shadowsocks用户:
1
2
3
打开Shadowsocks
检查本地端口(通常是1080)
你的代理地址将是:http://127.0.0.1:1080
  • V2ray用户
1
2
3
4
打开v2rayN
设置-参数设置
本地混合监听端口(通常是10808)
你的代理地址将是:http://127.0.0.1:10808

查看Unity Hub安装路径

简单

Windows用户

  • 创建以下脚本
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@echo off

REM Unity Hub Proxy Launch Script
REM This script launches Unity Hub with proxy settings to bypass Unity CN

echo Starting Unity Hub with proxy settings...

REM Set proxy environment variables
REM IMPORTANT: Change these addresses to match YOUR proxy configuration
set HTTP_PROXY=http://127.0.0.1:10808
set HTTPS_PROXY=http://127.0.0.1:10808

REM Optional: Set additional proxy variables for completeness
set http_proxy=%HTTP_PROXY%
set https_proxy=%HTTPS_PROXY%

REM Display current proxy settings
echo ??HTTP??: %HTTP_PROXY%
echo ??HTTPS??: %HTTPS_PROXY%

REM Launch Unity Hub
REM IMPORTANT: Change this path to YOUR Unity Hub location
echo Launching Unity Hub...
start "" "D:\ProgramFiles\Unity Hub\Unity Hub.exe"

REM Optional: Wait a moment before closing the command window
@REM timeout /t 3 /nobreak >nul

echo Unity Hub launched successfully!
echo You can now close this window or press any key to exit.
pause
  • 更改代理端口 将端口10808该为你的代理端口号
  • 更改Unity Hub路径 将D:\ProgramFiles\Unity Hub\Unity Hub.exe替换为你的Unity Hub路径
  • 保存脚本 打开Windows的记事本,复制以上代码,修改后点击文件-另存为-在”保存类型”下拉菜单中,选择 “所有文件 (.)”-命名你的文件launch_unity_hub.cmd-保存到桌面(方便访问)
  • 双击运行launch_unity_hub.bat,就会自动打开Unity Hub

Mac用户

在终端运行以下代码生成launchUnityHub.command (注意:端口和Unity Hub路径记得修改),

1
2
3
4
5
6
7
8
9
10
11
12
echo '#!/usr/bin/env bash
# *** NOTE: Add the next 3 lines only if you’re not using Automatic Proxy Configuration
export HTTP_PROXY=http://127.0.0.1:10808
export HTTPS_PROXY=http://127.0.0.1:10808
#export NO_PROXY=<licensing_server_name_or_IP_address>
export http_proxy=http://127.0.0.1:10808
export https_proxy=http://127.0.0.1:10808

# *** NOTE: Add the following line only if your web proxy uses SSL inspection
#export NODE_EXTRA_CA_CERTS=<path_to_pem_file>
nohup "/Applications/Unity Hub.app/Contents/MacOS/Unity Hub" &>/dev/null &' > launchUnityHub.command

  • 授权 chmod +x launchUnityHub.command
  • 同样双击运行