Unity下載編輯器缺失模塊離線安裝包的方式
以Windows操作系統(tǒng),2021.3.16f1c1版本的Unity編輯器版本,需要Windows的il2cpp模塊為例:
首先從官網(wǎng)獲取到2021.3.16f1c1版本的Unity編輯器下載鏈接如下:
https://download.unitychina.cn/download_unity/56dbfdd6697f/Windows64EditorInstaller/UnitySetup64.exe
紅色標(biāo)記部分是該版本編輯器的下載鏈接前綴。我們通過下面的單獨(dú)模塊的下載鏈接可以得知,不同版本unity的單獨(dú)模塊的下載鏈接格式為:
Unity版本關(guān)聯(lián)的下載前綴+下載鏈接對(duì)應(yīng)的模塊+版本號(hào)
例如:下面的鏈接是2020.3.27f1c1版本的Windows-IL2CPP-Support模塊的單獨(dú)下載鏈接。(windows系統(tǒng)使用的為exe擴(kuò)展名,Mac使用的為pkg擴(kuò)展名)
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Windows-IL2CPP-Support-for-Editor-2020.3.27f1c1.exe
通過替換可以得到:2021.3.16f1c1版本的Windows-IL2CPP-Support模塊的單獨(dú)下載鏈接。
https://download.unitychina.cn/download_unity/56dbfdd6697f/TargetSupportInstaller/UnitySetup-Windows-IL2CPP-Support-for-Editor-2021.3.16f1c1.exe
之后,使用該鏈接即可下載到我們需要的某個(gè)模塊的離線安裝包。該方法適用于需要離線安裝模塊或者Unity Hub出錯(cuò)導(dǎo)致無法安裝的情況下使用。
以下是從2020.3.27f1c1版本發(fā)行說明中提取的單獨(dú)模塊的下載鏈接:
https://download.unitychina.cn/download_unity/35c20f28741a/Windows64EditorInstaller/UnitySetup64.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Android-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-AppleTV-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-iOS-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Linux-IL2CPP-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Linux-Mono-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Lumin-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Mac-Mono-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Universal-Windows-Platform-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-WebGL-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/TargetSupportInstaller/UnitySetup-Windows-IL2CPP-Support-for-Editor-2020.3.27f1c1.exe
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorInstaller/Unity.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-Android-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-AppleTV-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-iOS-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-Linux-IL2CPP-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-Linux-Mono-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-Lumin-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-Mac-IL2CPP-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-WebGL-Support-for-Editor-2020.3.27f1c1.pkg
https://download.unitychina.cn/download_unity/35c20f28741a/MacEditorTargetInstaller/UnitySetup-Windows-Mono-Support-for-Editor-2020.3.27f1c1.pkg