Search Unity

[Solved] iOS Purchasing FakeStore

Discussion in 'Unity IAP' started by Mycroft, Apr 13, 2016.

Thread Status:
Not open for further replies.
  1. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    We're running into an issue with Purchasing on iOS with the debug enabled.

    Once we do our log-on code we start the Purchasing Initialization. This works fine on Editor/Android. Builds done locally and in CloudBuild throw an error as we attempt to Initialize Purchasing.

    It seems to be throwing an error Default constructor not found...ctor() of UnityEngine.Purchasing.UIFakeStore

    Has anyone else seen this or have a suggestion?


     
  2. nicholasr

    nicholasr

    Joined:
    Aug 15, 2015
    Posts:
    183
    Hi @Mycroft - I suspect this iOS IL2CPP UIFakeStore constructor issue has been fixed in a recent IAP build.

    Would you mind confirming the version of the IAP plugin being used? Assets / Plugins / UnityPurchasing / Changelog.md. I see from the included log that build using System.Activator.CreateInstance which was done away with approx 50 days ago (Feb 26's v1.2.4).

    And, one can hit the Cloud > Services > In-App Purchasing > Import button to refresh.
     
  3. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    Thank you nicholasr!

    I'll do as you suggest later today and update.
     
Thread Status:
Not open for further replies.