【Unity】Google Mobile Ads Unityプラグインインポート時にエラーが発生する(Assembly name ‘Google.VersionHandlerImpl’ does not match file name ‘Google.VersionHandlerImpl_v1.2.161’)【AdMob】【トラブルシューティング】

AdMob

表題の通り以下エラーが発生する。
おそらくバージョン部分が他のバージョンでも同様。

Assembly name ‘Google.VersionHandlerImpl’ does not match file name ‘Google.VersionHandlerImpl_v1.2.161’

解決方法

エラーの通りファイル名のバージョン部分を削除する。

Before
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl_v1.2.161.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl_v1.2.161.dll.mdb

After
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl.dll.mdb

ファイル名変更後、Unityを再起動すると色々確認ダイアログが出るので全部Applyすると対応できた。

参考

[Known Issue] iOSResolver.dll failed to load with Unity 2021.1.11+ on Mac · Issue #441 · googlesamples/unity-jar-resolver
Please fill in the following fields: Unity editor version: Issue occurred with 2021.1.11, 2021.1.12 (Works with 2021.1.10 and 2021.2.0) External Dependency Man...

コメント

タイトルとURLをコピーしました