Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

INAPP Could not resolve type with token

Discussion in '2018.2 Beta' started by Foriero, Jun 10, 2018.

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    563
    Hi, we try to test our inapps inside unity editor with fake mode but get this error. Any idea how to fix it? Seems like related to NET 4.x backend?

    Thank you, marek.

    TypeLoadException: Could not resolve type with token 01000025 (from typeref, class/assembly SimpleJson.SimpleJson, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
    UnityEngine.Purchasing.PurchasingManager.OnPurchaseSucceeded (System.String id, System.String receipt, System.String transactionId) (at /Users/stevenb/unity-src3/Extensions/UnityPurchasing/Runtime/Purchasing/PurchasingManager.cs:111)
    UnityEngine.Purchasing.JSONStore.OnPurchaseSucceeded (System.String id, System.String receipt, System.String transactionID) (at <2721f33929e5414881088d3485f0faab>:0)
    UnityEngine.Purchasing.FakeStore.<>n__0 (System.String id, System.String receipt, System.String transactionID) (at <2721f33929e5414881088d3485f0faab>:0)
    UnityEngine.Purchasing.FakeStore+<>c__DisplayClass15_0.<FakePurchase>b__0 (System.Boolean allow, UnityEngine.Purchasing.PurchaseFailureReason failureReason) (at <2721f33929e5414881088d3485f0faab>:0)
    UnityEngine.Purchasing.FakeStore.FakePurchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) (at <2721f33929e5414881088d3485f0faab>:0)
    UnityEngine.Purchasing.FakeStore.Purchase (System.String productJSON, System.String developerPayload) (at <2721f33929e5414881088d3485f0faab>:0)
    UnityEngine.Purchasing.JSONStore.Purchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) (at <2721f33929e5414881088d3485f0faab>:0)
    UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product, System.String developerPayload) (at /Users/stevenb/unity-src3/Extensions/UnityPurchasing/Runtime/Purchasing/PurchasingManager.cs:60)
    UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product) (at /Users/stevenb/unity-src3/Extensions/UnityPurchasing/Runtime/Purchasing/PurchasingManager.cs:38)
    ForieroEngine.Store.PurchaseProduct (System.String productId, System.Action`2[T1,T2] OnPurchased, System.Action`2[T1,T2] OnFailed) (at Assets/Svn/Foriero/Scripts/Categorized/Core/Store.API.cs:184)
    MusicusoUnlock.UnlockButtonOnClick () (at Assets/Projects/Common/Scripts/Unlock/MusicusoUnlock.cs:46)
    UnityEngine.Events.InvokableCall.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent.cs:166)
    UnityEngine.Events.UnityEvent.Invoke () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent_0.cs:58)
    UnityEngine.UI.Button.Press () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:36)
    UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:45)
    UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:50)
    UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:261)
    UnityEngine.EventSystems.EventSystem:Update()
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    11,147
    @Foriero This is an issue that the IAP team is aware of and working to address at high priority. The issue is limited to Unity 2018 and should work as expected in 2017
     
    Last edited: Jun 12, 2018
unityunity