GUID conflict errors in In App Purchasing 4.12.2

I have just updated to the In App Purchasing package version 4.12.2. Upon installing, I get warnings related to meta files that don’t have files alongside as well as GUID conflicts. All of these issues seem to be related to the unitypurchasing.bundle.

Unity attempts to auto-correct these issues as usual, but it fails to alter the files because the package is immutable.

I was able to fix the meta issues by manually deleting the .meta files within the file system. Not ideal, but it seems to have worked. However, I’m not sure how to best proceed with the GUID conflicts. Has anyone else run into this?

Here is the error message I’m getting:

GUID [b4326c66a9f464640b9457cbd6237bf6] for asset 'Packages/com.unity.purchasing/Plugins/UnityPurchasing/unitypurchasing.bundle/Contents/Resources/PrivacyInfo.xcprivacy' conflicts with:
  'Packages/com.unity.purchasing/Plugins/UnityPurchasing/iOS/PrivacyInfo.xcprivacy' (current owner)
We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

The warnings are like this:

A meta data file (.meta) exists but its asset 'Packages/com.unity.purchasing/Plugins/UnityPurchasing/unitypurchasing.bundle/Contents/Resources/UnityEarlyTransactionObserver.h' can't be found. When moving or deleting files outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.
Couldn't delete Packages/com.unity.purchasing/Plugins/UnityPurchasing/unitypurchasing.bundle/Contents/Resources/UnityEarlyTransactionObserver.h.meta because it's in an immutable folder.

I have the same warnings for these, which are in the same Resources directory.

  • UnityEarlyTransactionObserver.mm
  • UnityPurchasing.h
  • UnityPurchasing.m

I’m running Unity Editor version 2021.3.15. Perhaps this is an editor issue that would be resolved with an update. I would rather not update as this is a production project, but will if needed.

Any suggestions are appreciated!

1 Like

This will work until you update Unity or any package in Unity Package Manager. So, this is a temporal solution.


Since I use 4.12.2 in AR Masker, I’ve never seen such an issue, but I use Unity 2022.3.

You can try next:

  1. Close Project
  2. Delete Library folder
  3. Open Project with selecting Target Platform in Unity Hub before opening

Thanks for the suggestion. Unfortunately, this didn’t resolve the issue.

I tried a full reimport after eliminating all files that aren’t typically tracked in source control as well, but no luck.

:frowning:

1 Like

Try to update your project to the latest 42 patch of your Unity version: Download Archive

There was this post with more details on this issue:

In your case, this would be solved by updating your editor to 2021.3.23f1. Is this possible?

1 Like

Thank you very much for this reply and for letting me know that this is confirmed as an incompatibility with our current editor version.

We are testing an update to the latest version of 2021 LTS (2021.3.42f1). I’ve confirmed that it fixes this In App Purchasing GUID conflict.

1 Like