Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity Purchase Conflicts at Editor Update

Discussion in 'Editor & General Support' started by SophiaKramer, Jul 24, 2022.

  1. SophiaKramer

    SophiaKramer

    Joined:
    Feb 14, 2016
    Posts:
    9
    Hi! I've been working on this game since when 2019.3 was the last stable release, and didn't want to update the Editor to one more recent because I was afraid it would break a lot of stuff. On Friday we released the game to Google Play, and then yesterday I resolved to finally update the Editor to 2021.3.3f1.

    I'm having a lot of Unity Purchase conflicts after the update. Namely:

    Library\PackageCache\com.unity.purchasing@4.1.4\Runtime\WinRTStub\Factory.cs(15,23): error CS0433: The type 'IWindowsIAP' exists in both 'UnityEngine.Purchasing.WinRTCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'


    Library\PackageCache\com.unity.purchasing@4.1.4\Runtime\SecurityStub\GooglePlayReceipt.cs(32,35): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'


    Library\PackageCache\com.unity.purchasing@4.1.4\Runtime\SecurityStub\CrossPlatformValidator.cs(43,16): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'


    Library\PackageCache\com.unity.purchasing@4.1.4\Runtime\SecurityStub\AppleValidator.cs(33,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'


    Library\PackageCache\com.unity.purchasing@4.1.4\Runtime\SecurityStub\AppleValidator.cs(53,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7807.33496, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'


    How do I solve those?? Thank you
     
  2. mkay4t9

    mkay4t9

    Joined:
    Jun 24, 2023
    Posts:
    1

    I also got the same error.
    do get the solution please help me.