LoginSignup
0
0

AIVOICEforGAMES_Unity has invalid dependencies or related test packages の解決方法

Posted at

先日A.I.VOICEをUnityで扱えるエディタ拡張がリリースされました。

ただ公式サイトの導入方法ではすんなり導入できず、タイトルのエラーで悩まされたので解決方法を記載します。

  • Windows10
  • Unity 2021.3.28f1

パッケージ追加時のエラー

[パッケージマネージャーウィンドウ] Unityパッケージマネージャーの操作ができません: Unable to add package [file:D:/AIVOICEforGAMES_Unity]:
  Package jp.ai-j.aivoice-for-games@file:D:/AIVOICEforGAMES_Unity has invalid dependencies or related test packages:
    org.nuget.csvhelper (dependency): Package [org.nuget.csvhelper@30.0.1] cannot be found [UpmError_NotFound].
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

要はCsvHelperパッケージの依存関係が解消できないと言われる。

解決方法

CsvHelperをプロジェクトへインストールします。

OSにインストールする方法もあったようですが私はUnityにパッケージインストールする方法で導入しました。

NuGetパッケージをインストールできるようにする

こちらを参考にNuGetパッケージをインストールできるようにします。

CsvHelperパッケージをインストール

ウィンドウ>パッケージマネージャー>マイレジストリからCsvHelper(NuGet)をインストールします。
CsvHelper_install.png

以上です。

参考リンク

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0