「Unity/開発環境/windows」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「=="No 'git' executable was found."とでる場合== 詳細は、以下のとおり <pre> An error occurred while resolving packages: Project has invalid dependencies: com...」) |
(→windowsプラットフォーム選択) |
||
(同じ利用者による、間の6版が非表示) | |||
行1: | 行1: | ||
+ | ==windowsプラットフォーム選択== | ||
+ | unityインストール時に、"Windows Build Support (IL2CPP)"を、チェックする。 | ||
+ | |||
+ | ==windowsでビルドしようとしたときのエラー== | ||
+ | Firebaseがあるとエラーになる。 | ||
+ | |||
+ | Google.IOSResolver.dll | ||
+ | <pre> | ||
+ | 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. | ||
+ | </pre> | ||
+ | Firebase.Crashlytics.Editor.dll | ||
+ | <pre> | ||
+ | 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. | ||
+ | </pre> | ||
+ | Firebase.Editor.dll | ||
+ | <pre> | ||
+ | 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. | ||
+ | </pre> | ||
+ | |||
=="No 'git' executable was found."とでる場合== | =="No 'git' executable was found."とでる場合== | ||
詳細は、以下のとおり | 詳細は、以下のとおり | ||
行5: | 行30: | ||
Project has invalid dependencies: | Project has invalid dependencies: | ||
com.neuecc.unirx: No 'git' executable was found. Please install Git on your system then restart Unity and Unity Hub | com.neuecc.unirx: No 'git' executable was found. Please install Git on your system then restart Unity and Unity Hub | ||
+ | </pre> | ||
+ | gitのpathが通ってないので、以下の通りで対応する。 | ||
+ | |||
+ | システム/システムの詳細設定/環境変数/システム環境変数/新規で以下追加 | ||
+ | <pre> | ||
+ | Git | ||
+ | C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin | ||
+ | </pre> | ||
+ | |||
+ | システム/システムの詳細設定/環境変数/システム環境変数/Pathの最後に以下を追加 | ||
<pre> | <pre> | ||
+ | ;%Git% | ||
+ | </pre> | ||
+ | 参考:https://www.hanachiru-blog.com/entry/2021/05/24/120000 |
2023年12月29日 (金) 18:00時点における最新版
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%