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

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:

[Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
3: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
4: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
5: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
6: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
7: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
8: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
9: [Unity] The class <OnProductListError>c__AnonStorey4 could not be loaded, used in Stores, Version=1.0.6148.29088, Culture=neutral, PublicKeyToken=null
10: [Unity] UnityEngine.Debug:LogWarning(Object)
11: [Unity] UnityEngine.Debug:LogWarning(Object)
12: [Unity] UnityEngine.Debug:LogWarning(Object)
13: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
14: [Unity] Compilation failed: 14 error(s), 0 warnings
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: [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: [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: [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: [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: [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: [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: [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: [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: [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: [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: [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: [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: [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?
1 Like

Looking like its building for B11

I’m getting this error as well on all builds being done.

Same problem here, ios and Android cloud build fail with this error, someone found the problem and a solution ?

Hello,

Are you able to build locally?

  • Sophia

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.

also - same issue

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

2 Likes

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

Yeah - I had to manually add a define into the config for the build for UNITY_PURCHASING - that sorted it for me then.

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

I just restarted Unity, it solved

1 Like