DbIMok писал(а):добавь логов, разбирайся что за NullReference (что-то не проинициализировано)
Не смог найти пока решение (
10-27 08:26:27.027 9445 9495 E Unity : at UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1].Invoke (T1 handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <00000000000000000000000000000
10-27 08:26:58.947 9445 9495 E Unity : Purchase failed because Purchasing was not initialized correctly
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.Logger:Log(LogType, Object)
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.Purchasing.CodelessIAPStoreListener:InitiatePurchase(String)
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.Events.UnityAction:Invoke()
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.Events.UnityEvent:Invoke()
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
10-27 08:26:58.947 9445 9495 E Unity : UnityEngine.EventSystems.StandaloneInputModule:Process()
10-27 08:26:58.947 9445 9495 E Unity :
10-27 08:26:58.952 9445 9495 E Unity : NullReferenceException: Object reference not set to an instance of an object.
10-27 08:26:58.952 9445 9495 E Unity : at IAPManager.OnPurchaseFailed (UnityEngine.Purchasing.Product product, UnityEngine.Purchasing.PurchaseFailureReason failureReason) [0x00000] in <00000000000000000000000000000000>:0
10-27 08:26:58.952 9445 9495 E Unity : at UnityEngine.Events.UnityAction`2[T0,T1].Invoke (T0 arg0, T1 arg1) [0x00000] in <00000000000000000000000000000000>:0
10-27 08:26:58.952 9445 9495 E Unity : at UnityEngine.Events.UnityEvent`2[T0,T1].Invoke (T0 arg0, T1 arg1) [0x00000] in <00000000000000000000000000000000>:0
10-27 08:26:58.952 9445 9495 E Unity : at UnityEngine.Purchasing.CodelessIAPStoreListener.InitiatePurchase (System.String productID) [0x00000] in <00000000000000000000000000000000>:0
10-27 08:26:58.952 9445 9495 E Unity : at UnityEngine.Events.UnityAction.Invoke () [0x00000] in <00000000000000000000000000000000>:0
10-27 08:26:58.952 9445 9495 E Unity : at UnityEngine.Events.UnityEvent.Invoke () [0x00000] in <00000000000000000000000000000000>:0
10-27 08:26:58.952 9445 9495 E Unity : at UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1].Invoke (T1 handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <00000000000000000000000000000