Search Unity

iOS cloud build error since 2019.4.23 coming up

Discussion in 'Unity Build Automation' started by StartStart, Mar 26, 2021.

  1. StartStart

    StartStart

    Joined:
    Jan 2, 2013
    Posts:
    150
    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:
    Code (CSharp):
    1. 1: No Library cache found - ALL assets will be re-imported.
    2. 2: [Unity] Initialize engine version: 2019.4.23f1 (3f4e01f1a5ec)
    3. 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. 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. 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. 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. 7: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.dll
    8. 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. 9: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.AppleCore.dll
    10. 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. 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. 12: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.WinRTStub.dll
    13. 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. 14: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.SecurityStub.dll
    15. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 47: ! build of 'android-dev' failed. exit
    48. 48: WARNING: Unity Version is different from previous build.
    49. 49: publishing finished successfully.
    50. 50: Finished: FAILURE
    Build log iOS:
    Code (CSharp):
    1. 1: Signing credentials: Finifugu King Dev (iPhone Distribution: Finifugu Games Limited (J25VC3BG8L))
    2. 2: No Library cache found - ALL assets will be re-imported.
    3. 3: [Unity] Initialize engine version: 2019.4.23f1 (3f4e01f1a5ec)
    4. 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. 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. 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. 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. 8: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.dll
    9. 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. 10: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.AppleCore.dll
    11. 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. 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. 13: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.WinRTStub.dll
    14. 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. 15: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/UnityEngine.Purchasing.SecurityStub.dll
    16. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 48: [Unity] UnityEngine.Debug:LogWarning (object)
    49. 49: [Unity] UnityEngine.Debug:LogWarning (object)
    50. 50: [Unity] UnityEngine.Debug:LogWarning (object)
    51. 51: [Unity] UnityEngine.Debug:LogWarning (object)
    52. 52: [Unity] UnityEngine.Debug:LogWarning (object)
    53. 53: [Unity] UnityEngine.Debug:LogWarning (object)
    54. 54: [Unity] UnityEngine.Debug:LogWarning (object)
    55. 55: [Unity] UnityEngine.Debug:LogWarning (object)
    56. 56: [Unity] UnityEngine.Debug:LogWarning (object)
    57. 57: [Unity] UnityEngine.Debug:LogWarning (object)
    58. 58: [Unity] UnityEngine.Debug:LogWarning (object)
    59. 59: [Unity] UnityEngine.Debug:LogWarning (object)
    60. 60: [Unity] UnityEngine.Debug:LogWarning (object)
    61. 61: [Unity] UnityEngine.Debug:LogWarning (object)
    62. 62: [Unity] UnityEngine.Debug:LogWarning (object)
    63. 63: [Unity] UnityEngine.Debug:LogWarning (object)
    64. 64: [Unity] UnityEngine.Debug:LogWarning (object)
    65. 65: [Unity] UnityEngine.Debug:LogWarning (object)
    66. 66: [Unity] UnityEngine.Debug:LogWarning (object)
    67. 67: [Unity] UnityEngine.Debug:LogWarning (object)
    68. 68: ! build of 'dev-ios' failed. exit
    69. 69: WARNING: Unity Version is different from previous build.
    70. 70: publishing finished successfully.
    71. 71: Finished: FAILURE
    Does it build locally from a fresh checkout?: I can't build on my own PC because it's iOS.
     
  2. thibouf

    thibouf

    Joined:
    Mar 17, 2017
    Posts:
    105
    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
     
    DhiaSendi, steril, raruth and 2 others like this.
  3. VuQNguyen

    VuQNguyen

    Joined:
    Aug 5, 2019
    Posts:
    4
    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.
     
  4. StartStart

    StartStart

    Joined:
    Jan 2, 2013
    Posts:
    150
    Thank you, I will try this one.
     
  5. Xsodiaz

    Xsodiaz

    Joined:
    Jul 9, 2019
    Posts:
    16
    I'm having the same problem, anyone found a fix yet ?
     
  6. StartStart

    StartStart

    Joined:
    Jan 2, 2013
    Posts:
    150
    You can try re-import Unity IAP, Ads SDK

    Or

    pick 2019.4.22 in Unity Cloud Build instead.
     
  7. The_Mean_Fiddler

    The_Mean_Fiddler

    Joined:
    Nov 27, 2014
    Posts:
    17
    Last edited: Apr 4, 2021
  8. TeohRIK

    TeohRIK

    Joined:
    Jan 22, 2014
    Posts:
    106
    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
     
    DhiaSendi and shacharoz like this.
  9. shacharoz

    shacharoz

    Joined:
    Jul 11, 2013
    Posts:
    98
    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
     
  10. shacharoz

    shacharoz

    Joined:
    Jul 11, 2013
    Posts:
    98
    why 2019.4.22?
     
  11. shacharoz

    shacharoz

    Joined:
    Jul 11, 2013
    Posts:
    98
    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.
     
  12. IvyKun

    IvyKun

    Joined:
    Sep 28, 2013
    Posts:
    132
    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.
     
    shacharoz likes this.
  13. shacharoz

    shacharoz

    Joined:
    Jul 11, 2013
    Posts:
    98
    yep. still did not solve either...
    tried also with 2020 LTS...
     
  14. IvyKun

    IvyKun

    Joined:
    Sep 28, 2013
    Posts:
    132
    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.
     
  15. shacharoz

    shacharoz

    Joined:
    Jul 11, 2013
    Posts:
    98
    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..
     
  16. IvyKun

    IvyKun

    Joined:
    Sep 28, 2013
    Posts:
    132
    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.

    Screenshot 2021-04-21 at 09.57.39.png

    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.
     
    Last edited: Apr 21, 2021
  17. cdy_unity

    cdy_unity

    Joined:
    Jul 28, 2017
    Posts:
    9
    I'm having the same problem, anyone found a fix yet ?
     
  18. IvyKun

    IvyKun

    Joined:
    Sep 28, 2013
    Posts:
    132
    pixelR likes this.
  19. pixelR

    pixelR

    Joined:
    Sep 16, 2013
    Posts:
    58
    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. :/ I hope anyone affected will find this thread before pulling their hair out. :)
     
  20. StartStart

    StartStart

    Joined:
    Jan 2, 2013
    Posts:
    150
    upload_2021-4-26_15-56-20.png

    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.)
     
    Last edited: May 5, 2021
  21. JaejungSoft

    JaejungSoft

    Joined:
    Aug 6, 2015
    Posts:
    2
    Maybe I will bald.. I followed solution. All bug is fixed. But no delete only one bug.
    It is NullRefenece UIFakeStore.cs:175)...
    It can work On release version?
     
  22. JaejungSoft

    JaejungSoft

    Joined:
    Aug 6, 2015
    Posts:
    2
    --------------------------
    I test my app. It is worked very good!
    Thanks!
     
  23. IOU_RAY

    IOU_RAY

    Joined:
    Jul 25, 2017
    Posts:
    127
    2022...still an issue, solved yet again by user trial and error.
    Thanks for the work-around folks.
     
  24. zoranigic

    zoranigic

    Joined:
    Oct 4, 2019
    Posts:
    16
    IMPORTANT UPGRADE NOTES:

    If updating from Unity IAP (com.unity.purchasing + the Asset Store plugin) versions 2.x to version 3.x, complete the following actions in order to resolve compilation errors:
    1. Move IAPProductCatalog.json and BillingMode.json
    FROM: Assets/Plugins/UnityPurchasing/Resources/
    TO: Assets/Resources/.
    2. Move AppleTangle.cs and GooglePlayTangle.cs
    FROM: Assets/Plugins/UnityPurchasing/generated
    TO: Assets/Scripts/UnityPurchasing/generated.
    3. Remove all remaining Asset Store plugin folders and files in Assets/Plugins/UnityPurchasing from your project.