facebook twitter hatena line email

Unity/開発環境/windows

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

windowsプラットフォーム選択

unityインストール時に、"Windows Build Support (IL2CPP)"を、チェックする。

windowsでビルドしようとしたときのエラー

Firebaseがあるとエラーになる。

Google.IOSResolver.dll

Assembly 'Assets/ExternalDependencyManager/Editor/1.2.177/Google.IOSResolver.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

Firebase.Crashlytics.Editor.dll

Assembly 'Assets/Firebase/Editor/Firebase.Crashlytics.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

Firebase.Editor.dll

Assembly 'Assets/Firebase/Editor/Firebase.Editor.dll' will not be loaded due to errors:
Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

"No 'git' executable was found."とでる場合

詳細は、以下のとおり

An error occurred while resolving packages:
Project has invalid dependencies:
com.neuecc.unirx: No 'git' executable was found. Please install Git on your system then restart Unity and Unity Hub

gitのpathが通ってないので、以下の通りで対応する。

システム/システムの詳細設定/環境変数/システム環境変数/新規で以下追加

Git
C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

システム/システムの詳細設定/環境変数/システム環境変数/Pathの最後に以下を追加

;%Git%

参考:https://www.hanachiru-blog.com/entry/2021/05/24/120000