Unity3D 5 packages conflict

[亡魂溺海] 提交于 2021-01-27 16:59:27

问题


I have Unity 5.0.2f1. Firstly, I've successfully added GooglePlayGamesPlugin-0.9.20.unitypackage to my project. Then, I've tried to import GoogleMobileAds.unitypackage, but I got these errors:

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)

How to resolve this?


回答1:


First make a backup of your project and delete your metadata files in your asset project folder and childs. Files with extension .meta




回答2:


The easiest workaround I could come up with: 1. Within the Unity Editor, create a subfolder of the Assets folder, for instance called TEMP123. 2. Move the entire (other) content of the Assets folder to TEMP123. 3. Import your package. 4. Manually merge the content of TEMP123back to the Assets folder.




回答3:


If you see these kinds of errors, reimport all the assets. This reprocesses the metadata and the error goes off.



来源:https://stackoverflow.com/questions/30732196/unity3d-5-packages-conflict

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!