facebook twitter hatena line email

Unity/インストール

提供: 初心者エンジニアの簡易メモ
移動: 案内検索

unityアカウントを作っておく

https://id.unity.com

無料版DLとインストール

https://store.unity.com/ja/download?ref=personal

  • アカウントを入力
  • personalを選択

バージョンは2017.1.1

unityhubから最新でないバージョンのインストール

https://unity.com/releases/editor/whats-new/2022.3.6

からバージョンを指定して、UnityHubをクリック

unityhubでインストールできないとき

macのとき

/Users/[ユーザ名]/Library/Application Support/UnityHub/logs

windowsのとき

c:/Users/[ユーザ名]/AppData/Roaming/UnityHub/logs

以下ログが出るとき

{"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/ts/qqp5d4114wqgdv3tdnv9byxm0000gq/T/unityhub-05346da0-e3b1-11ea-b4b8-894cf6ee3e09/Unity-2020.1.2f1.pkg' ]","timestamp":"2020-08-21T13:29:36.312Z"}
{"moduleName":"Download","level":"info","message":"[ 'Editor download ended successfully. Download id: 2020.1.2f1' ]","timestamp":"2020-08-21T13:29:40.602Z"}
{"moduleName":"Installer","level":"info","message":"[ 'Install 2020.1.2f1: /var/folders/ts/qqp5d4114wqgdv3tdnv9byxm0000gq/T/unityhub-05346da0-e3b1-11ea-b4b8-894cf6ee3e09/Unity-2020.1.2f1.pkg to /Applications/Unity/Hub/Editor/2020.1.2f1 started' ]","timestamp":"2020-08-21T13:29:40.604Z"}
{"moduleName":"UnityInstallerMac","level":"warn","message":"[ ' Error while installing the Editor',\n  { error:\n     { code: 'MISSING_DESTINATION',\n       message: 'The install destination was invalid or missing.' } } ]","timestamp":"2020-08-21T13:29:40.607Z"}

以下Editorの権限を変更。

sudo chmod -R 755 /Applications/Unity/Hub/Editor

これでうまくいった。後々考えると、前回インストールからユーザ名を変更してました・・。

参考:https://forum.unity.com/threads/unity-hub-fails-installing-error-the-install-destination-was-invalid-or-missing.673828/

ライセンス確認

unityhub側の環境のライセンスから確認