Unity3D 5 包冲突
Unity3D 5 packages conflict
我有Unity 5.0.2f1
。首先,我已成功添加 GooglePlayGamesPlugin-0.9.20.unitypackage to my project. Then, I've tried to import GoogleMobileAds.unitypackage,但出现以下错误:
Error importing folder (The pathName assets/plugins is already mapped to fce8a713f1e5a4cc4b9973d1ef630f31. But the meta data wants it to be mapped to cbde64d36fd994c458fffca9e931b232)
Error importing folder (The pathName assets/plugins/android is already mapped to b8f0d9a6a7f9240c981894807effddbc. But the meta data wants it to be mapped to 2f5d736f7c4cb4c1e80d0816d0e81625)
Error importing folder (The pathName assets/plugins/ios is already mapped to 6490bb8acab6f4f92b29615e7429b8df. But the meta data wants it to be mapped to da135550add3c4abca622bda5280d204)
如何解决?
首先备份您的项目并删除资产项目文件夹和子项目中的元数据文件。
扩展名为 .meta
的文件
我能想到的最简单的解决方法:
1. 在 Unity Editor 中,创建 Assets 文件夹的子文件夹,例如名为 TEMP123。
2. 将 Assets 文件夹的全部(其他)内容移动到 TEMP123。
3. 导入您的包。
4.手动将TEMP123的内容合并回Assets文件夹
如果您看到此类错误,请重新导入所有资产。这会重新处理元数据并且错误会消失。
我有Unity 5.0.2f1
。首先,我已成功添加 GooglePlayGamesPlugin-0.9.20.unitypackage to my project. Then, I've tried to import GoogleMobileAds.unitypackage,但出现以下错误:
Error importing folder (The pathName assets/plugins is already mapped to fce8a713f1e5a4cc4b9973d1ef630f31. But the meta data wants it to be mapped to cbde64d36fd994c458fffca9e931b232)
Error importing folder (The pathName assets/plugins/android is already mapped to b8f0d9a6a7f9240c981894807effddbc. But the meta data wants it to be mapped to 2f5d736f7c4cb4c1e80d0816d0e81625)
Error importing folder (The pathName assets/plugins/ios is already mapped to 6490bb8acab6f4f92b29615e7429b8df. But the meta data wants it to be mapped to da135550add3c4abca622bda5280d204)
如何解决?
首先备份您的项目并删除资产项目文件夹和子项目中的元数据文件。 扩展名为 .meta
的文件我能想到的最简单的解决方法: 1. 在 Unity Editor 中,创建 Assets 文件夹的子文件夹,例如名为 TEMP123。 2. 将 Assets 文件夹的全部(其他)内容移动到 TEMP123。 3. 导入您的包。 4.手动将TEMP123的内容合并回Assets文件夹
如果您看到此类错误,请重新导入所有资产。这会重新处理元数据并且错误会消失。