Technology Blog
技術ブログ
2018.11.26
Unity HubでインストールしたUnityのVuforiaプラグインをアップデートする方法
![](https://mankindgames.jp/wp-content/uploads/2022/04/Screenshot-12.png)
Unity Hubはとても便利で新しい機能ですが、Vuforiaをアップデートする場合、少し面倒な手順が必要になります。
最新のUnityのバージョンを既にインストールしていて、そのUnityと共にインストールされたVuforiaのバージョンよりも更に最新のVuforiaがリリースされている場合、下記の手順でVuforiaをアップデートできます。
Unityを起動するときにVuforiaは無効の状態になっています。(Image1)。
とりあえず、Vuforiaを使用するため、
File>Build Settings>Player Settigsボタン
または
Edit>Project Settings>PlayerからPlayer Settingsを開き、
(Image2)
Player settingsのVuforia Augmented Realityオプションをチェックする必要があります。
(Image3)
Vuforia Configurration Pannelの出し方
すると Vuforia Configuration Panel でVuforia Update のリンクをクリックできるようになります。(Image4)。
Image1
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-9.png)
Image2
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-10.png)
Image3
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-11.png)
Image4
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-12.png)
ここで一旦Unityを閉じてください。
ダウンロードが終わったら、
VuforiaSupportInstaller-Windowsの圧縮ファイルを解凍し、UnitySetup-Vuforia-AR-Support-for-Editorのイントラーをダブルクリックします。
UnitySetupアイコンを選択してください(Image5)。
インストールを続いて、Destination Folderのページを見えたらBrowseボタンをクリックしてください(Image6)。
ここで、Vuforiaの最新を適用したいUnityのバージョンの実行ファイルが置かれているパスを指定します。
Image5
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-14.png)
Image6
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-16.png)
Program FilesフォルダーにあるUnityフォルダーを選択してください(Image7)。(注意:Unity Hubのフォルダーではありません。Unity自体の実行ファイルがあるフォルダを指定する必要があります。)
Image7
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-17.png)
それでUnityをアップデートするバージョンを選択し、OKボタンを選択してください(Image8)。
Image8
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-18.png)
次のウインドで選んだフォルダーを確認できます(Image9)。それでインストールを最後まで続けてください。
Image9
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-19.png)
Unityを起動するとVuforiaがアップデートされていることが確認できます(Image10)。
Image10
![](http://mankindinc.jp/wp01/wp-content/uploads/2018/10/Screenshot-21.png)