原文:https://forum.cgpersia.com/f13/unipatcher2018-unity-v2018-win64-167751/index2.html#85
[admonition title="博主发现破解后无法创建和打开项目,还是再等等吧" icon="times-circle" color="red"][/admonition]
准备
- 安装UnityHub
- 安装nodejs
修改
安装nodejs后执行以下命令
npm install -g asar
打开UnityHub安装目录,如C:\Program Files\Unity Hub\resources
点击文件-->打开Windows PowerShell,执行以下命令解压app.asar
asar extract .\app.asar app
![](xian-file-1256703172.file.myqcloud.com
/UnityHub/00.webp)
![](xian-file-1256703172.file.myqcloud.com
/UnityHub/01.webp)
解压后删除app.asar
修改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();
licenseInfo.label = licenseCore.getLicenseKind(true);
licenseInfo.offlineDisabled = licenseCore.offlineDisabled;
licenseInfo.transactionId = licenseCore.getTransactionId();
}
Unity Hub\resources\app\src\services\licenseService\licenseCore.js
verifyLicenseData(xml, newfile = false) {
return new Promise((resolve, reject) => {
resolve(true);//新增这行
if (xml === '') {
this.licenseStatus = LICENSE_STATUS.kLicenseErrorFlag_NoLicense;
reject();
return;
}
}
}
Comments NOTHING
博主 MIHack
UnityHub 1.x 的版本可以
博主 asc
2.0.2破解后打不开工程,不断重复弹出UnityHub。。