Search Unity

Unity5.5 LATEST BETA failure on iOS/Android with IAP

Discussion in 'Unity Build Automation' started by Kujo87, Nov 11, 2016.

  1. Kujo87

    Kujo87

    Joined:
    Sep 16, 2013
    Posts:
    168
    Hi,

    I'm using Simple IAP System and Unity IAP, but getting failures on UCB when targeting Latest BETA

    The errors I'm getting seem to be related to the the IAP implementation, rather that SIS.

    This is the error log from Android, but its the same info on iOS too:

    Code (csharp):
    1.  
    2. [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    3. 3: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    4. 4: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    5. 5: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    6. 6: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    7. 7: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    8. 8: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    9. 9: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
    10. 10: [Unity] UnityEngine.Debug:LogWarning(Object)
    11. 11: [Unity] UnityEngine.Debug:LogWarning(Object)
    12. 12: [Unity] UnityEngine.Debug:LogWarning(Object)
    13. 13: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
    14. 14: [Unity] Compilation failed: 14 error(s), 0 warnings
    15. 15: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(21,43): error CS0246: The type or namespace name `IStoreListener' could not be found. Are you missing an assembly reference?
    16. 16: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPItem.cs(180,26): error CS0246: The type or namespace name `Product' could not be found. Are you missing an assembly reference?
    17. 17: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(100,23): error CS0246: The type or namespace name `IStoreController' could not be found. Are you missing an assembly reference?
    18. 18: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(101,18): error CS0246: The type or namespace name `IExtensionProvider' could not be found. Are you missing an assembly reference?
    19. 19: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(232,41): error CS0246: The type or namespace name `ConfigurationBuilder' could not be found. Are you missing an assembly reference?
    20. 20: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(245,35): error CS0246: The type or namespace name `IStoreController' could not be found. Are you missing an assembly reference?
    21. 21: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(245,58): error CS0246: The type or namespace name `IExtensionProvider' could not be found. Are you missing an assembly reference?
    22. 22: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(329,10): error CS0246: The type or namespace name `PurchaseProcessingResult' could not be found. Are you missing an assembly reference?
    23. 23: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(449,34): error CS0246: The type or namespace name `InitializationFailureReason' could not be found. Are you missing an assembly reference?
    24. 24: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(471,32): error CS0246: The type or namespace name `Product' could not be found. Are you missing an assembly reference?
    25. 25: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(471,46): error CS0246: The type or namespace name `PurchaseFailureReason' could not be found. Are you missing an assembly reference?
    26. 26: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(701,16): error CS0246: The type or namespace name `ProductType' could not be found. Are you missing an assembly reference?
    27. 27: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/IAPManager.cs(712,16): error CS0246: The type or namespace name `IDs' could not be found. Are you missing an assembly reference?
    28. 28: [Unity] Assets/3rd Party/SimpleIAPSystem/Scripts/ShopManager.cs(246,47): error CS0246: The type or namespace name `Product' could not be found. Are you missing an assembly reference?
    29.  
     
    takahiro_iwatani likes this.
  2. Kujo87

    Kujo87

    Joined:
    Sep 16, 2013
    Posts:
    168
    Looking like its building for B11
     
  3. phil-harvey

    phil-harvey

    Joined:
    Aug 27, 2014
    Posts:
    75
    I'm getting this error as well on all builds being done.
     
  4. RedGirafeGames

    RedGirafeGames

    Joined:
    Sep 30, 2016
    Posts:
    32
    Same problem here, ios and Android cloud build fail with this error, someone found the problem and a solution ?
     
  5. SophiaC

    SophiaC

    Joined:
    Sep 6, 2016
    Posts:
    238
    Hello,

    Are you able to build locally?

    - Sophia
     
  6. mkrana

    mkrana

    Joined:
    Mar 27, 2015
    Posts:
    4
    The type or namespace name `IStoreListener' could not be found. Are you missing an assembly reference?

    I am getting this error while trying to build. I am not able to play the game too. I basically updated from v5.4.3 to v5.5.2.
     
  7. rickcollette

    rickcollette

    Joined:
    Mar 17, 2013
    Posts:
    304
    also - same issue
     
  8. Dylanrey

    Dylanrey

    Joined:
    Oct 7, 2015
    Posts:
    2
    Solved! Go in the Unity Editor - window "Services" and click Enable IAP (after updated unity to 5.6 I found this setting turned off...) then it will Update your project auto, I can suggest you to do a backup before, for me works now
     
    Last edited: Apr 24, 2017
    mannuswami and zeeshanatomicity like this.
  9. TymNetwork

    TymNetwork

    Joined:
    Jan 16, 2014
    Posts:
    84

    Did you ever find a resolution to this issue...i have a 2D game that just started doing this error after upgrading to
    5.6.5 -- IStoreController' could not be found
     
  10. alan_motionlab

    alan_motionlab

    Joined:
    Nov 27, 2014
    Posts:
    99
    Yeah - I had to manually add a define into the config for the build for UNITY_PURCHASING - that sorted it for me then.
     
  11. DaniyarGilymov

    DaniyarGilymov

    Joined:
    Dec 26, 2017
    Posts:
    14
    Im facing with the same problem. In visual studio, it see using UnityEngine.Purchasing; however it can't find IStoreListner.
    It occured after going back to older version and then restoring to new version with Unity Collabiration
     
  12. DaniyarGilymov

    DaniyarGilymov

    Joined:
    Dec 26, 2017
    Posts:
    14
    I just restarted Unity, it solved
     
    AllanRW likes this.