Unity version: 2020.3.17f1 LTS
OS: windows 10
I’ve added “com.unity.purchasing”: “3.2.3” to new Project and gets some errors…
-
Library\PackageCache\com.unity.purchasing@3.2.3\Runtime\AppleCore\INativeAppleStore.cs(3,44): error CS0122: ‘INativeStore’ is inaccessible due to its protection level
-
Library\PackageCache\com.unity.purchasing@3.2.3\Runtime\AppleCore\INativeAppleStore.cs(5,42): error CS0122: ‘UnityPurchasingCallback’ is inaccessible due to its protection level
-
Microsoft (R) Visual C# Compiler version 3.5.0-dev-20359-01 (8da8ba0c)
Copyright (C) Microsoft Corporation. All rights reserved.
error CS1704: An assembly with the same simple name ‘Purchasing.Common’ has already been imported. Try removing one of the references (e.g. ‘C:\Users\rever\Desktop\Gravity-Flight-master\Library\ScriptAssemblies\Purchasing.Common.dll’) or sign them to enable side-by-side.
-
Library\PackageCache\com.unity.purchasing@3.2.3\Runtime\SecurityStub\AppleValidator.cs(33,10): error CS0433: The type ‘AppleReceipt’ exists in both ‘Security, Version=1.0.7016.24189, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
-
Library\PackageCache\com.unity.purchasing@3.2.3\Runtime\SecurityStub\AppleValidator.cs(53,10): error CS0433: The type ‘AppleReceipt’ exists in both ‘Security, Version=1.0.7016.24189, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
-
Library\PackageCache\com.unity.purchasing@3.2.3\Runtime\SecurityStub\GooglePlayReceipt.cs(32,35): error CS0433: The type ‘IPurchaseReceipt’ exists in both ‘Security, Version=1.0.7016.24189, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
-
Library\PackageCache\com.unity.purchasing@3.2.3\Runtime\SecurityStub\CrossPlatformValidator.cs(43,16): error CS0433: The type ‘IPurchaseReceipt’ exists in both ‘Security, Version=1.0.7016.24189, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
-
Library\PackageCache\com.unity.purchasing@3.2.3\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’
What to do?