1.退出UnityHub,安装好nodejs执行以下命令
npm install -g asar
2.打开UnityHub安装目录如 C:\Program Files\Unity Hub\resources
3.在C:\Program Files\Unity Hub\resources打开命令行,执行以下命令解压app.asar
C:\Program Files\Unity Hub\resources> asar extract .\app.asar app
解压后删除C:\Program Files\Unity Hub\resources\app.asar
4.修改C:\Program Files\Unity Hub\resources\app\src\services\licenseService\licenseClient.js
getLicenseInfo(callback) {
// load license
// get latest data from licenseCore
//licenseInfo.activated = licenseCore.getLicenseToken().length > 0;//注释这行
licenseInfo.activated = true;//新增这行
licenseInfo.flow = licenseCore.getLicenseKind();
5.C:\Program Files\Unity Hub\resources\app\src\services\licenseService\licenseCore.js
verifyLicenseData(xml) {
return new Promise((resolve, reject) => {
resolve(true);//新增这行
if (xml === '') {