iOS cloud build error since 2019.4.23 coming up

Description of issue: Android and iOS Cloud Build is error since 2019.4.23 coming up.

Unity version: My PC used: 2019.4.19, Cloud build use latest: 2019.4.23

XCode version: Xcode 12.2.0

Source control: Bitbucket

Local build platform: -

Build target: Android (Development Build), iOS (Development Build)

Relevant plugins being used:
-AppsFlyer SDK
-DeltaDNA SDK
-Facebook SDK
-MaxSdk AppLovin SDK

Project name: Me is King

Build log Android:

1: No Library cache found - ALL assets will be re-imported.
2: [Unity] Initialize engine version: 2019.4.23f1 (3f4e01f1a5ec)
3: [Unity] A meta data file (.meta) exists but its asset 'Assets/Plugins/UnityPurchasing/UDP.unitypackage' 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.
4: [Unity] A meta data file (.meta) exists but its asset 'Assets/Plugins/UnityPurchasing/UDP.unitypackage' 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.
5: [Unity] A meta data file (.meta) exists but its asset 'Assets/Plugins/UnityPurchasing/UDP.unitypackage' 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.
6: [Unity] Error: Could not load signature of UnityEditor.Purchasing.GooglePlayProductCatalogExporter:ProductTypeString due to: Could not load file or assembly 'UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
7: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.dll
8: [Unity] error CS1704: An assembly with the same simple name 'Purchasing.Common' has already been imported. Try removing one of the references (e.g. '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/ScriptAssemblies/Purchasing.Common.dll') or sign them to enable side-by-side.
9: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.AppleCore.dll
10: [Unity] error CS1704: An assembly with the same simple name 'Purchasing.Common' has already been imported. Try removing one of the references (e.g. '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/ScriptAssemblies/Purchasing.Common.dll') or sign them to enable side-by-side.
11: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/AppleCore/INativeAppleStore.cs(5,42): error CS0122: 'UnityPurchasingCallback' is inaccessible due to its protection level
12: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.WinRTStub.dll
13: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTStub/Factory.cs(5,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'
14: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.SecurityStub.dll
15: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(22,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
16: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(14,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
17: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/CrossPlatformValidator.cs(17,10): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
18: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(13,35): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
19: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(21,10): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
20: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(24,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
21: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(29,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
22: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(683,20): warning CS0436: The type 'Json' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'Json' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
23: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(688,20): warning CS0436: The type 'Json' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'Json' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
24: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(645,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
25: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(650,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
26: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(659,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
27: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(664,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
28: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(669,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
29: [Unity] Assets/Samples/ProBuilder/4.2.3/Runtime Examples/Convert Mesh to Editable/MakePrimitiveEditable.cs(20,19): warning CS0612: 'MeshImporter.MeshImporter(ProBuilderMesh)' is obsolete
30: [Unity] Assets/Samples/ProBuilder/4.2.3/Runtime Examples/Convert Mesh to Editable/MakePrimitiveEditable.cs(24,4): warning CS0612: 'MeshImporter.Import(GameObject, MeshImportSettings)' is obsolete
31: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/AppleCore/INativeAppleStore.cs(5,42): error CS0122: 'UnityPurchasingCallback' is inaccessible due to its protection level
32: [Unity] error CS1704: An assembly with the same simple name 'Purchasing.Common' has already been imported. Try removing one of the references (e.g. '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/ScriptAssemblies/Purchasing.Common.dll') or sign them to enable side-by-side.
33: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs(24,43): warning CS0436: The type 'IPurchaseReceipt' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IPurchaseReceipt.cs' conflicts with the imported type 'IPurchaseReceipt' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IPurchaseReceipt.cs'.
34: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IAPSecurityException.cs(9,43): warning CS0436: The type 'IAPSecurityException' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IAPSecurityException.cs' conflicts with the imported type 'IAPSecurityException' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IAPSecurityException.cs'.
35: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs(18,10): warning CS0436: The type 'AppleInAppPurchaseReceipt' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs' conflicts with the imported type 'AppleInAppPurchaseReceipt' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs'.
36: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(22,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
37: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(14,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
38: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/CrossPlatformValidator.cs(17,10): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
39: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(13,35): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
40: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(21,10): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
41: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(24,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
42: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(29,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
43: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs(8,36): warning CS0436: The type 'WinProductDescription' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs' conflicts with the imported type 'WinProductDescription' in 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs'.
44: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs(19,38): warning CS0436: The type 'WinProductDescription' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs' conflicts with the imported type 'WinProductDescription' in 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs'.
45: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs(20,25): warning CS0436: The type 'IWindowsIAPCallback' in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs' conflicts with the imported type 'IWindowsIAPCallback' in 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.android-dev/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs'.
46: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTStub/Factory.cs(5,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'
47: ! build of 'android-dev' failed. exit
48: WARNING: Unity Version is different from previous build.
49: publishing finished successfully.
50: Finished: FAILURE

Build log iOS:

1: Signing credentials: Finifugu King Dev (iPhone Distribution: Finifugu Games Limited (J25VC3BG8L))
2: No Library cache found - ALL assets will be re-imported.
3: [Unity] Initialize engine version: 2019.4.23f1 (3f4e01f1a5ec)
4: [Unity] A meta data file (.meta) exists but its asset 'Assets/Plugins/UnityPurchasing/UDP.unitypackage' 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.
5: [Unity] A meta data file (.meta) exists but its asset 'Assets/Plugins/UnityPurchasing/UDP.unitypackage' 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.
6: [Unity] A meta data file (.meta) exists but its asset 'Assets/Plugins/UnityPurchasing/UDP.unitypackage' 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.
7: [Unity] Error: Could not load signature of UnityEditor.Purchasing.GooglePlayProductCatalogExporter:ProductTypeString due to: Could not load file or assembly 'UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.Purchasing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>
8: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.dll
9: [Unity] error CS1704: An assembly with the same simple name 'Purchasing.Common' has already been imported. Try removing one of the references (e.g. '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/ScriptAssemblies/Purchasing.Common.dll') or sign them to enable side-by-side.
10: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.AppleCore.dll
11: [Unity] error CS1704: An assembly with the same simple name 'Purchasing.Common' has already been imported. Try removing one of the references (e.g. '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/ScriptAssemblies/Purchasing.Common.dll') or sign them to enable side-by-side.
12: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/AppleCore/INativeAppleStore.cs(5,42): error CS0122: 'UnityPurchasingCallback' is inaccessible due to its protection level
13: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.WinRTStub.dll
14: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTStub/Factory.cs(5,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'
15: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.SecurityStub.dll
16: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(22,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
17: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(14,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
18: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/CrossPlatformValidator.cs(17,10): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
19: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(13,35): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
20: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(21,10): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
21: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(24,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
22: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(29,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
23: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(683,20): warning CS0436: The type 'Json' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'Json' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
24: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(688,20): warning CS0436: The type 'Json' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'Json' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
25: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(645,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
26: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(650,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
27: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(659,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
28: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(664,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
29: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs(669,20): warning CS0436: The type 'MiniJson' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs' conflicts with the imported type 'MiniJson' in 'Purchasing.Common, Version=1.0.7698.24418, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/Common/MiniJSON.cs'.
30: [Unity] Assets/Samples/ProBuilder/4.2.3/Runtime Examples/Convert Mesh to Editable/MakePrimitiveEditable.cs(20,19): warning CS0612: 'MeshImporter.MeshImporter(ProBuilderMesh)' is obsolete
31: [Unity] Assets/Samples/ProBuilder/4.2.3/Runtime Examples/Convert Mesh to Editable/MakePrimitiveEditable.cs(24,4): warning CS0612: 'MeshImporter.Import(GameObject, MeshImportSettings)' is obsolete
32: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/AppleCore/INativeAppleStore.cs(5,42): error CS0122: 'UnityPurchasingCallback' is inaccessible due to its protection level
33: [Unity] error CS1704: An assembly with the same simple name 'Purchasing.Common' has already been imported. Try removing one of the references (e.g. '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/ScriptAssemblies/Purchasing.Common.dll') or sign them to enable side-by-side.
34: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs(24,43): warning CS0436: The type 'IPurchaseReceipt' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IPurchaseReceipt.cs' conflicts with the imported type 'IPurchaseReceipt' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IPurchaseReceipt.cs'.
35: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IAPSecurityException.cs(9,43): warning CS0436: The type 'IAPSecurityException' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IAPSecurityException.cs' conflicts with the imported type 'IAPSecurityException' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/IAPSecurityException.cs'.
36: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs(18,10): warning CS0436: The type 'AppleInAppPurchaseReceipt' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs' conflicts with the imported type 'AppleInAppPurchaseReceipt' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityCore/AppleReceipt.cs'.
37: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(22,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
38: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/AppleValidator.cs(14,10): error CS0433: The type 'AppleReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
39: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/CrossPlatformValidator.cs(17,10): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
40: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(13,35): error CS0433: The type 'IPurchaseReceipt' exists in both 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
41: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(21,10): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
42: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(24,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
43: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs(29,49): warning CS0436: The type 'GooglePurchaseState' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs' conflicts with the imported type 'GooglePurchaseState' in 'Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/SecurityStub/GooglePlayReceipt.cs'.
44: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs(19,38): warning CS0436: The type 'WinProductDescription' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs' conflicts with the imported type 'WinProductDescription' in 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs'.
45: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs(20,25): warning CS0436: The type 'IWindowsIAPCallback' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs' conflicts with the imported type 'IWindowsIAPCallback' in 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs'.
46: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/IWinRT.cs(8,36): warning CS0436: The type 'WinProductDescription' in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs' conflicts with the imported type 'WinProductDescription' in 'winrt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/BUILD_PATH/finifugu-games-limited.bcd.dev-ios/Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTCore/WinProductDescription.cs'.
47: [Unity] Library/PackageCache/com.unity.purchasing@3.0.1/Runtime/WinRTStub/Factory.cs(5,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'
48: [Unity] UnityEngine.Debug:LogWarning (object)
49: [Unity] UnityEngine.Debug:LogWarning (object)
50: [Unity] UnityEngine.Debug:LogWarning (object)
51: [Unity] UnityEngine.Debug:LogWarning (object)
52: [Unity] UnityEngine.Debug:LogWarning (object)
53: [Unity] UnityEngine.Debug:LogWarning (object)
54: [Unity] UnityEngine.Debug:LogWarning (object)
55: [Unity] UnityEngine.Debug:LogWarning (object)
56: [Unity] UnityEngine.Debug:LogWarning (object)
57: [Unity] UnityEngine.Debug:LogWarning (object)
58: [Unity] UnityEngine.Debug:LogWarning (object)
59: [Unity] UnityEngine.Debug:LogWarning (object)
60: [Unity] UnityEngine.Debug:LogWarning (object)
61: [Unity] UnityEngine.Debug:LogWarning (object)
62: [Unity] UnityEngine.Debug:LogWarning (object)
63: [Unity] UnityEngine.Debug:LogWarning (object)
64: [Unity] UnityEngine.Debug:LogWarning (object)
65: [Unity] UnityEngine.Debug:LogWarning (object)
66: [Unity] UnityEngine.Debug:LogWarning (object)
67: [Unity] UnityEngine.Debug:LogWarning (object)
68: ! build of 'dev-ios' failed. exit
69: WARNING: Unity Version is different from previous build.
70: publishing finished successfully.
71: Finished: FAILURE

Does it build locally from a fresh checkout?: I can’t build on my own PC because it’s iOS.

Hey I stumble on the same problem. It seems that the IAP plugin has been automatically updated with this version (no sure it is normal …)

Anyway, a fix for me was to remove the old Plugins/UnityPurchasing folder (maybe keep the generated folder that contains xxxTangle.cs).

I suggest you test locally with the last unity version (2019.4.23), has it is not a UCB problem, but also happen in this Unity version

5 Likes

Confirmed this issue. I have it build success locally, but same errors about IAP on cloud build.

Solution for now: Update cloud build config to use the latest stable Unity version which you was able to build successfully.

Thank you, I will try this one.

I’m having the same problem, anyone found a fix yet ?

You can try re-import Unity IAP, Ads SDK

Or

pick 2019.4.22 in Unity Cloud Build instead.

I’m having similar problems.
It would be interesting to see what folders you are including in your bitbucket repo.
Please can you post a copy of your .gitignore?
The documentation is quite vague.
Can we push the library folder to the repo? What the heck does this mean?

oh thanks, I actually forgot the slightly older version of Unity 2019.4LTS and IAP storing the file inside the plugins folder. Delete the old Unity Purchasing plugin in the plugin folder fixed everything

2 Likes

actually it still persist for me. i just had a version that was working on both apple and android. and now it has these errors that don’t let go.
even after i remove the purchasing folder and reimport the iap (from Services window).

any other ideas?
i have updated also the ads (monetisation package) and iap (from services)

I’m getting error messages about:

  • C# compiler version
  • a type that already exists:
    Library\PackageCache\com.unity.purchasing@3.0.1\Runtime\SecurityStub\AppleValidator.cs(14,10): error CS0433: The type ‘AppleReceipt’ exists in both ‘Security, Version=1.0.7698.24420, Culture=neutral, PublicKeyToken=null’ and ‘UnityEngine.Purchasing.SecurityCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
  • protection level:
    Library\PackageCache\com.unity.purchasing@3.0.1\Runtime\AppleCore\INativeAppleStore.cs(5,42): error CS0122: ‘UnityPurchasingCallback’ is inaccessible due to its protection level

why 2019.4.22?

update:
many errors were solved once i realized my project was actually set on the PC platform, and i transferred it back to Android. just in order to help others…
i still have some errors. i will reimport again.

This is happening to me with with unity purchasing 3.0.1 and 3.0.2 with Unity 2019.4.24. Is happening on windows and it doesn’t matter if my project was set to iOS or Android. Now I can’t do anything because it doesn’t even compile ><.

I tried deleting the plugin and the packagemanager folder, reimporting, reimporting all the project etc. Still happening.

1 Like

yep. still did not solve either…
tried also with 2020 LTS…

I tried with 2019.4.24, 2019.4.15… on windows and on mac os. Even on a new empty project, just importing unity IAP is giving me the error. I don’t know how this could be so broken.

the error actually magically disappeared yesterday evening… after many tries here and there.
it seems NOT related specifically to the unity version. but i work only with LTS. 2019.4.23 or 2020.3

i still didn’t figure out WHY it suddenly works, but i will try again in order to tell you.
i would suggest this:

  1. Library reset is not relevant.
  2. use LTS unity versions.
  3. don’t downgrade the project to lower unity (if its not in the same year). if you had it on 2019, don’t downgrade to 2018.
  4. delete Unity purchasing folder from the project, manually. remove iap from the unity package manager window. disable the IAP from the services window.
    do the same also for the unity ads (monetisation package).
    then restart unity project. you should now have ALL the errors that your code doesn’t know the classes you want it to use.
  5. add both monetization and IAP packages from the Services, and package manager.

i think this what worked. but i will try again to validate. let me know i hope it helps…

I just created again an empty project with nothing in it, and it’s happening.

  • I use LTS versions, tried it with 2019.4.24, 2019.4.23, 2019.4.22, 2019.4.15, so is not version related
  • Downgrade the project etc doesn’t seem relevant either, this is a new project
  • Deleting old folder and remove iap from the package manager window even deleting the package from the library cache folder doesn’t seem related either. This is a new project so everything is new and empty.

Only thing I can think of is uninstall Unity completely and try again, or like removing the whole unity packages cache or something that I’m missing because this it’s making me crazy.

New empty project, just imported unity IAP from the services windows and that’s it…

Edit: deleted global cache, delete all packages inside Library/Unity/cache… as soon as I import Unity IAP the same error comes up. Done again in a new created completely empty project.

Also I tested installing Unity IAP 2.2.2 and no problem at all. So I’m just going to keep using that version for now.

I’m having the same problem, anyone found a fix yet ?

Yes, the solution is remove Unity IAP folders, install it from the package manager and DON’T import it from the services windows because that’s not necessary anymore.

Check here:

1 Like

I can confirm that this is the solution, i.e. remove the IAP package completely and install only via Package manager.

It’s a very bad user experience when you turn on the service and are presented with a button in the same window to import the needed packages, which leads to critical errors. :confused: I hope anyone affected will find this thread before pulling their hair out. :slight_smile:

Look like today Unity just updated a message on old IAP package.

So just move to In App Purchasing (Version 3 and above) in Package Manager. (Please clean up all old IAP files before install the new one too.)

2 Likes