3

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?

3 Answers 3

3

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

3
  • These files get recreated as only Unity gets focus. Jun 9, 2015 at 13:12
  • 1
    Well I've just manually changed guids in *.meta files, and package was finally imported, but just for curiosity I've tried to import 1st package again and now it shows me similar errors... I don't if everything will work properly now. Jun 9, 2015 at 13:24
  • The problem is that inside the metadata file you have stored cache map reference, and when reimport is not valid.
    – joreldraw
    Jun 10, 2015 at 10:33
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.

1

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

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.