统一(Android 图片),我有问题 "We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored."
unity (Android bild), i have problem "We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored."
我有unity 2019.3.7f1,
2 面库:
GooglePlayGamesPlugin-0.10.08
GoogleMobileAds-v3.18.3
(它还安装了 "latest External Dependency Manager for Unity")
并且所有内容都在 Android (apk)
上完美编译
我添加了一个库 Firebase 6.13.0
并得到了以下错误:
我读到你需要删除它们并重新启动项目,它没有帮助,我也重新安装了所有库,它没有帮助。
有没有人遇到过类似的问题?请帮忙解决。
看起来你有两个相同的 dll 文件相互冲突:
Assets/ExternalDependencyMAnager/Editor/Google.iOSResolver_v1.2.144.dll
还有一个在
Packages/com.google.external-dependency-manager/ExternalDependencyManager/Editor/Google.iOSResolver_v1.2.144.dll
尝试删除(剪切并粘贴到 diff 目录以安全地执行)
Assets/ExternalDependencyManager/Editor/Google.iOSResolver_v1.2.144.dll
Unity 还告诉您它位于一个不可变的文件夹中,因此它本身可能没有访问它的权限
正在安装 Unity 广告
为确保Unity Ads为最新版本,请通过Asset store下载,或通过Editor中的Unity Package Manager下载。
重要提示:您必须选择资产或包。安装两者可能会导致构建错误。
source
根据这个帖子:https://github.com/firebase/quickstart-unity/issues/695
It looks like EDM4U is installed from both UPM and in Assets folder.
If you install any Firebase packages from UPM, EDM4U will be
automatically installed through UPM as well, as a dependency. That is
why we recommend to remove EDM4U from Assets folder BEFORE installing
any Firebase SDK from UPM.
This may happen when you install any other packages including EDM4U or
PlayServicesResolver in their .unitypackage, ex. Facebook, OneSignal.
All you need is to remove those folders
(Assets/ExternalDependencyManager
and/or
Assets/PlayServicesResolver
) from Assets
folder. Unfortunately
EDM4U cannot resolve such installation conflict now but we are looking
for some solution to make your life easier.
To resolve this, I recommend you to:
Remove Assets/ExternalDependencyManager
and/or
Assets/PlayServicesResolver
folder
- Uninstall all Firebase packages from UPM
- Reinstall all needed
Firebase packages from UPM (this guarantees assets ignored by Unity
during previous installation is installed properly this time)
它帮助了我:
- 将 Unity 更新至 2019.4.15f
- 将 Firebase 更新到 6.16.1
- 更新 GooglePlayGamesPlugin-0.10.11
- 更新 GoogleMobileAds-v5.4.0(可选)
- 删除Assets/ExternalDependencyManager和Assets/PlayServicesResolver文件夹
来自统一编辑器
1.windows
2.package 经理
3.In 项目
并删除外部依赖文件夹或包。you can see package manager is open with In Project selected
Unity 2020.3.11f1 LTS 版本:重启Unity即可。问题已为我解决。
我有unity 2019.3.7f1, 2 面库:
GooglePlayGamesPlugin-0.10.08
GoogleMobileAds-v3.18.3
(它还安装了 "latest External Dependency Manager for Unity")
并且所有内容都在 Android (apk)
上完美编译我添加了一个库 Firebase 6.13.0
并得到了以下错误:
有没有人遇到过类似的问题?请帮忙解决。
看起来你有两个相同的 dll 文件相互冲突:
Assets/ExternalDependencyMAnager/Editor/Google.iOSResolver_v1.2.144.dll
还有一个在
Packages/com.google.external-dependency-manager/ExternalDependencyManager/Editor/Google.iOSResolver_v1.2.144.dll
尝试删除(剪切并粘贴到 diff 目录以安全地执行) Assets/ExternalDependencyManager/Editor/Google.iOSResolver_v1.2.144.dll
Unity 还告诉您它位于一个不可变的文件夹中,因此它本身可能没有访问它的权限
正在安装 Unity 广告 为确保Unity Ads为最新版本,请通过Asset store下载,或通过Editor中的Unity Package Manager下载。
重要提示:您必须选择资产或包。安装两者可能会导致构建错误。 source
根据这个帖子:https://github.com/firebase/quickstart-unity/issues/695
It looks like EDM4U is installed from both UPM and in Assets folder.
If you install any Firebase packages from UPM, EDM4U will be automatically installed through UPM as well, as a dependency. That is why we recommend to remove EDM4U from Assets folder BEFORE installing any Firebase SDK from UPM.
This may happen when you install any other packages including EDM4U or PlayServicesResolver in their .unitypackage, ex. Facebook, OneSignal. All you need is to remove those folders (
Assets/ExternalDependencyManager
and/orAssets/PlayServicesResolver
) fromAssets
folder. Unfortunately EDM4U cannot resolve such installation conflict now but we are looking for some solution to make your life easier.To resolve this, I recommend you to:
Remove
Assets/ExternalDependencyManager
and/orAssets/PlayServicesResolver
folder
- Uninstall all Firebase packages from UPM
- Reinstall all needed Firebase packages from UPM (this guarantees assets ignored by Unity during previous installation is installed properly this time)
它帮助了我:
- 将 Unity 更新至 2019.4.15f
- 将 Firebase 更新到 6.16.1
- 更新 GooglePlayGamesPlugin-0.10.11
- 更新 GoogleMobileAds-v5.4.0(可选)
- 删除Assets/ExternalDependencyManager和Assets/PlayServicesResolver文件夹
来自统一编辑器 1.windows 2.package 经理 3.In 项目 并删除外部依赖文件夹或包。you can see package manager is open with In Project selected
Unity 2020.3.11f1 LTS 版本:重启Unity即可。问题已为我解决。