Hi there! In my firebase crashlytics console i got a bunch of IAP OnInitializeFailed errors. 70% of them AppNotKnown, and other PurchasingUnavailable ? On my several test devices it works fine, and this happens not with all users. How could i find source of this issues?
Do you know the area where these errors occurred? In some areas people cannot access Google Stores (such as China), which can cause initialization failures, which may be the cause of the problem.
AppNotKnown is the new error return which means there is a problem with the Google user account. I am able to reproduce by changing my Google password online on my PC, but not yet on an unlocked (no password or swipe login) Android device and try to initialize IAP. When you get this return code, you'll want to pop up a dialog and tell the user to check their account on Google Play on the device.
Hi there! I've found another issues. I have 2 app versions: free and paid with same functionality. They are the same, except package name of course. Before upgrading to the new IAP version all worked fine. Today i prepared new paid version for store, and while testing on my developer device, got two issues. I login on my phone(pixel 3a, android 10) with google play console account as always 1)Without internet. On startup it shows AppNotKnown. Error stack 2)With internet. It starts without any errors, but on purchase attempt it shows Code (CSharp): 10.25 17:06:49.824 1294 1858 Error Unity: Invalid receipt, not unlocking content. UnityEngine.Purchasing.Security.InvalidSignatureException: Exception of type 'UnityEngine.Purchasing.Security.InvalidSignatureException' was thrown. 10.25 17:06:49.824 1294 1858 Error Unity: at UnityEngine.Purchasing.Security.GooglePlayValidator.Validate (System.String receipt, System.String signature) [0x00000] in <00000000000000000000000000000000>:0 10.25 17:06:49.824 1294 1858 Error Unity: at UnityEngine.Purchasing.Security.CrossPlatformValidator.Validate (System.String unityIAPReceipt) [0x00000] in <00000000000000000000000000000000>:0 10.25 17:06:49.824 1294 1858 Error Unity: at Purchaser.ProcessPurchase (UnityEngine.Purchasing.PurchaseEventArgs args) [0x00000] in <00000000000000000000000000000000>:0 10.25 17:06:49.824 1294 1858 Error Unity: at UnityEngine.Purchasing.PurchasingManager.ProcessPurchaseIfNew (UnityEngine.Purchasing.Product product) [0x00000] in <00000000000000000000000000000000>:0 10.25 17:06:49.824 1294 1858 Error Unity: at UnityEngine.Purchasing.JSONStore.OnPurchaseSucceeded (System.String id, System.String receipt, System.String transactionID) [0x00000] in <00000000000000000000000000000000>:0 10.25 17:06:49.824 1294 1858 Error Unity: at UnityEngine.Purchasing.ScriptingUnityCallb Full errors stack I have never faced with these issues before IAP update.
AppNotKnown would likely be expected in this case, you'll want to put up a dialog to the user to check their account on Google Play on the device (which naturally requires Internet access). You'll want to catch the exception, was this on an actual credit card purchase? Is the receipt non null?
It was on my google console developer account(email). With free app it works(though, this error can flash sometimes, but after it replaced with successful initialization and works). Also, on free app i don't see any errors without connection. Problem with another app with same code, but different package name(on the same account with same IAP items names). Talking about purchases... so it's test device, i don't know why receipt is invalid. If i close app, and start again(with connection), it unlocks items, purchased before(with receipt error) without any errors. And this is only happens on the new IAP version.
Please provide specific steps to reproduce. Is the receipt null, are you checking first? Please show the code you are using.
After upgrading to 1.23 I started getting IStoreListener.OnInitializeFailed() callback with AppNotKnown. This happens when I start the game on Android without internet access. And IAP 1.23 doesn't initialize even if internet is turned on afterwards. In the same situation IAP 1.22 was retrying in background, instead of failing with unrecoverable error.
Please see my previous post. If you receive this error, you want to alert the user to check Google Play on their device.
HI Jeff! But what if we have this error on test device with properly installed and enabled Google Play? I also have this error ONLY when phone has not connection. What code should i send to you?
Here errors stack on trying to buy item operation. You can find here Code (CSharp): 01.01 00:00:00.000 -1 -1 Info : --------- beginning of main 11.05 16:05:58.181 26300 26525 Info FrameStatistics: == Frame st [code=CSharp]11.05 16:06:22.373 26300 26372 Debug Unity: error Exception of type 'UnityEngine.Purchasing.Security.InvalidSignatureException' was thrown. Full Code (csharp): Satistics == 11.05 16:05:58.181 26300 26525 Info FrameStatistics: total frames: 6745 11.05 16:05:58.181 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:05:58.181 26300 26525 Info FrameStatistics: idle frames: 6741 2 0 0 0 0 11.05 16:05:58.181 26300 26525 Info FrameStatistics: late frames: 6686 17 13 9 6 5 11.05 16:05:58.181 26300 26525 Info FrameStatistics: offset from previous frame: 687 6035 11 6 3 1 11.05 16:05:58.181 26300 26525 Info FrameStatistics: frame latency: 11 0 6689 31 5 6 11.05 16:05:59.151 26300 26372 Info Unity: Purchasing product asychronously: ballads_v_4 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:05:59.151 26300 26372 Info Unity: Purchaser:BuyProductID(String) 11.05 16:05:59.151 26300 26372 Info Unity: JamPacksViewsHolder:OnBuyButtonClick() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.Events.UnityAction:Invoke() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.Events.InvokableCall:Invoke() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.Events.UnityEvent:Invoke() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.UI.Button:press() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.UI.Button:OnPointerClick(PointerEventData) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:processTouchPress(PointerEventData, Boolean, Boolean) 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:processTouchEvents() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:process() 11.05 16:05:59.151 26300 26372 Info Unity: UnityEngine.EventSystems.EventSystem:Update() 11.05 16:05:59.151 26300 26372 Info Unity: 11.05 16:05:59.151 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bi 11.05 16:05:59.152 26300 26372 Info UnityIAP: isUnityVrEnabled = false 11.05 16:05:59.154 26300 26372 Info UnityIAP: onPurchaseProduct: ballads_v_4 11.05 16:05:59.154 26300 26372 Info UnityIAP: ITEM TYPE:inapp 01.01 00:00:00.000 -1 -1 Info : --------- beginning of system 11.05 16:05:59.162 26300 26300 Info Unity: onPause 11.05 16:05:59.163 26300 26372 Info Unity: purchase({0}): ballads_v_4 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.Logger:Log(String, Object) 11.05 16:05:59.163 26300 26372 Info Unity: Purchaser:BuyProductID(String) 11.05 16:05:59.163 26300 26372 Info Unity: JamPacksViewsHolder:OnBuyButtonClick() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.Events.UnityAction:Invoke() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.Events.InvokableCall:Invoke() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.Events.UnityEvent:Invoke() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.UI.Button:press() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.UI.Button:OnPointerClick(PointerEventData) 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData) 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData) 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:processTouchPress(PointerEventData, Boolean, Boolean) 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:processTouchEvents() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:process() 11.05 16:05:59.163 26300 26372 Info Unity: UnityEngine.EventSystems.EventSystem:Update() 11.05 16:05:59.163 26300 26372 Info Unity: 11.05 16:05:59.163 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:05:59.163 26300 26372 Info Unity: 11.05 16:05:59.185 26300 26372 Info Unity: UserSettingsManager OnApplicationPause pauseStatus = True 11.05 16:05:59.185 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:05:59.185 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:05:59.185 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:05:59.185 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:05:59.185 26300 26372 Info Unity: 11.05 16:05:59.185 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:05:59.185 26300 26372 Info Unity: 11.05 16:05:59.187 26300 26372 Info Unity: CommonSettings SaveVars 11.05 16:05:59.187 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:05:59.187 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:05:59.187 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:05:59.187 26300 26372 Info Unity: CommonSettings:SaveVars() 11.05 16:05:59.187 26300 26372 Info Unity: UnityEngine.Events.UnityAction:Invoke() 11.05 16:05:59.187 26300 26372 Info Unity: UnityEngine.Events.InvokableCall:Invoke() 11.05 16:05:59.187 26300 26372 Info Unity: UnityEngine.Events.UnityEvent:Invoke() 11.05 16:05:59.187 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:05:59.187 26300 26372 Info Unity: 11.05 16:05:59.187 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:05:59.187 26300 26372 Info Unity: 11.05 16:05:59.235 26300 26372 Info Unity: UserSettingsManager SyncEs3File 11.05 16:05:59.235 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:05:59.235 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:05:59.235 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:05:59.235 26300 26372 Info Unity: UserSettingsManager:SyncEs3File() 11.05 16:05:59.235 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:05:59.235 26300 26372 Info Unity: 11.05 16:05:59.235 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:05:59.235 26300 26372 Info Unity: 11.05 16:05:59.316 26300 26372 Debug Unity: Sensor : Accelerometer ( 1) ; 0.004791 / 0.00s ; BMI160 Accelerometer / BOSCH 11.05 16:05:59.323 26300 26300 Warn ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@10cb592 11.05 16:05:59.341 26300 26300 Info UnityIAP: Creating purchase activity 11.05 16:05:59.342 26300 26300 Info UnityIAP: oldSkuMetadata is null 11.05 16:05:59.345 26300 26579 Info UnityIAP: invoking callback 11.05 16:05:59.345 26300 26579 Info UnityIAP: Constructing buy intent for ballads_v_4, item type: inapp 11.05 16:05:59.363 26300 26579 Info UnityIAP: Launching buy intent for ballads_v_4. Request code: 999 11.05 16:05:59.424 26300 26300 Info Unity: windowFocusChanged: false 11.05 16:06:22.238 26300 26300 Info UnityIAP: onActivityResult 11.05 16:06:22.238 26300 26300 Info UnityIAP: Purchase data: {"orderId":"GPA.3382-5100-2909-89209","packageName":"com.teq.guitarjampro","productId":"ballads_v_4","purchaseTime":1572962779366,"purchaseState":0,"developerPayload":"{\"developerPayload\":\"\",\"is_free_trial\":false,\"has_introductory_price_trial\":false,\"is_updated\":false,\"accountId\":\"\"}","purchaseToken":"iioehaomeiehpjpabplcckde.AO-J1Ox7hjhAM8SaU14HHzBzXvL9R8w880jihGVmh8MD_jwWOjYm3EDu9EZBxRIq9RrqZtu3x58YEet8-S9QyBb-cQkuNC1lF7LDs27PdLF7mDfvfAQJmHWfZqCfyIQ54QLL50UPA37q"} 11.05 16:06:22.239 26300 26300 Info UnityIAP: Data signature: fNuLeb7e3dDq9n3suQolifBOLX33OiXwcckTCQz869tdeTe0UMvWk5D7v3NiXMFOoskxtHEPBZgkYRNohHbTGUfqcULeLd7uUGbKvTTgB2KOLz8srw8kUsd63LqxDSp5v8PxkXW6KwwdBXD+iGyGFTMi809L2zW/5LScHDrz/hvdQADARwGySHAxnXtGAwQ3g3O9Z6RU1Pau/wkV3xPmbJw+UIoiTDJZkR7u3VCAwHkKewuKpTAwN+L2Gx4BoVmJ6ENX5DRS8gnid6tvt7TVxL1cULP6PQi5T0pz3YxKySfqVIBxVRIMbjnhVhYXfaSgu86wQY7NM43AfHAi/PuiGg== 11.05 16:06:22.239 26300 26300 Info UnityIAP: Successful resultcode from purchase activity. 11.05 16:06:22.239 26300 26300 Info UnityIAP: Purchase data: {"orderId":"GPA.3382-5100-2909-89209","packageName":"com.teq.guitarjampro","productId":"ballads_v_4","purchaseTime":1572962779366,"purchaseState":0,"developerPayload":"{\"developerPayload\":\"\",\"is_free_trial\":false,\"has_introductory_price_trial\":false,\"is_updated\":false,\"accountId\":\"\"}","purchaseToken":"iioehaomeiehpjpabplcckde.AO-J1Ox7hjhAM8SaU14HHzBzXvL9R8w880jihGVmh8MD_jwWOjYm3EDu9EZBxRIq9RrqZtu3x58YEet8-S9QyBb-cQkuNC1lF7LDs27PdLF7mDfvfAQJmHWfZqCfyIQ54QLL50UPA37q"} 11.05 16:06:22.239 26300 26300 Info UnityIAP: Data signature: fNuLeb7e3dDq9n3suQolifBOLX33OiXwcckTCQz869tdeTe0UMvWk5D7v3NiXMFOoskxtHEPBZgkYRNohHbTGUfqcULeLd7uUGbKvTTgB2KOLz8srw8kUsd63LqxDSp5v8PxkXW6KwwdBXD+iGyGFTMi809L2zW/5LScHDrz/hvdQADARwGySHAxnXtGAwQ3g3O9Z6RU1Pau/wkV3xPmbJw+UIoiTDJZkR7u3VCAwHkKewuKpTAwN+L2Gx4BoVmJ6ENX5DRS8gnid6tvt7TVxL1cULP6PQi5T0pz3YxKySfqVIBxVRIMbjnhVhYXfaSgu86wQY7NM43AfHAi/PuiGg== 11.05 16:06:22.239 26300 26300 Info UnityIAP: Extras: Bundle[{INAPP_PURCHASE_DATA={"orderId":"GPA.3382-5100-2909-89209","packageName":"com.teq.guitarjampro","productId":"ballads_v_4","purchaseTime":1572962779366,"purchaseState":0,"developerPayload":"{\"developerPayload\":\"\",\"is_free_trial\":false,\"has_introductory_price_trial\":false,\"is_updated\":false,\"accountId\":\"\"}","purchaseToken":"iioehaomeiehpjpabplcckde.AO-J1Ox7hjhAM8SaU14HHzBzXvL9R8w880jihGVmh8MD_jwWOjYm3EDu9EZBxRIq9RrqZtu3x58YEet8-S9QyBb-cQkuNC1lF7LDs27PdLF7mDfvfAQJmHWfZqCfyIQ54QLL50UPA37q"}, INAPP_DATA_SIGNATURE=fNuLeb7e3dDq9n3suQolifBOLX33OiXwcckTCQz869tdeTe0UMvWk5D7v3NiXMFOoskxtHEPBZgkYRNohHbTGUfqcULeLd7uUGbKvTTgB2KOLz8srw8kUsd63LqxDSp5v8PxkXW6KwwdBXD+iGyGFTMi809L2zW/5LScHDrz/hvdQADARwGySHAxnXtGAwQ3g3O9Z6RU1Pau/wkV3xPmbJw+UIoiTDJZkR7u3VCAwHkKewuKpTAwN+L2Gx4BoVmJ6ENX5DRS8gnid6tvt7TVxL1cULP6PQi5T0pz3YxKySfqVIBxVRIMbjnhVhYXfaSgu86wQY7NM43AfHAi/PuiGg==, RESPONSE_CODE=0}] 11.05 16:06:22.239 26300 26300 Info UnityIAP: Expected item type: inapp 11.05 16:06:22.240 26300 26300 Info UnityIAP: onIabPurchaseFinished: true 11.05 16:06:22.240 26300 26300 Info UnityIAP: Success (response: 0:OK) 11.05 16:06:22.240 26300 26300 Info UnityIAP: Product purchased successfully! 11.05 16:06:22.241 26300 26300 Info UnityIAP: NotifyUnityOfPurchase 11.05 16:06:22.291 26300 26300 Info Unity: onResume 11.05 16:06:22.306 26300 26300 Info Unity: windowFocusChanged: true 11.05 16:06:22.330 26300 26372 Debug Unity: Sensor : Accelerometer ( 1) ; 0.004791 / 0.00s ; BMI160 Accelerometer / BOSCH 11.05 16:06:22.330 26300 26372 Debug Unity: Choreographer available: Enabling VSYNC timing 11.05 16:06:22.351 26300 26372 Info Unity: UserSettingsManager OnApplicationPause pauseStatus = False 11.05 16:06:22.351 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:06:22.351 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:06:22.351 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:06:22.351 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:06:22.351 26300 26372 Info Unity: 11.05 16:06:22.351 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:06:22.351 26300 26372 Info Unity: 11.05 16:06:22.373 26300 26372 Error Unity: Invalid receipt, not unlocking content. UnityEngine.Purchasing.Security.InvalidSignatureException: Exception of type 'UnityEngine.Purchasing.Security.InvalidSignatureException' was thrown. 11.05 16:06:22.373 26300 26372 Error Unity: at UnityEngine.Purchasing.Security.GooglePlayValidator.Validate (System.String receipt, System.String signature) [0x00000] in <00000000000000000000000000000000>:0 11.05 16:06:22.373 26300 26372 Error Unity: at UnityEngine.Purchasing.Security.CrossPlatformValidator.Validate (System.String unityIAPReceipt) [0x00000] in <00000000000000000000000000000000>:0 11.05 16:06:22.373 26300 26372 Error Unity: at Purchaser.ProcessPurchase (UnityEngine.Purchasing.PurchaseEventArgs args) [0x00000] in <00000000000000000000000000000000>:0 11.05 16:06:22.373 26300 26372 Error Unity: at UnityEngine.Purchasing.PurchasingManager.ProcessPurchaseIfNew (UnityEngine.Purchasing.Product product) [0x00000] in <00000000000000000000000000000000>:0 11.05 16:06:22.373 26300 26372 Error Unity: at UnityEngine.Purchasing.JSONStore.OnPurchaseSucceeded (System.String id, System.String receipt, System.String transactionID) [0x00000] in <00000000000000000000000000000000>:0 11.05 16:06:22.373 26300 26372 Error Unity: at UnityEngine.Purchasing.ScriptingUnityCallb 11.05 16:06:22.373 26300 26372 Debug Unity: error Exception of type 'UnityEngine.Purchasing.Security.InvalidSignatureException' was thrown. 11.05 16:06:22.375 26300 26372 Info UnityIAP: Finish transaction:GPA.3382-5100-2909-89209 11.05 16:06:22.381 26300 26372 Info Unity: UnityIAP: Promo interface is available for 35 items 11.05 16:06:22.381 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:06:22.381 26300 26372 Info Unity: UnityEngine.Logger:Log(Object) 11.05 16:06:22.381 26300 26372 Info Unity: UnityEngine.Purchasing.Promo:provideProductsToAds(HashSet`1) 11.05 16:06:22.381 26300 26372 Info Unity: UnityEngine.Purchasing.JSONStore:OnPurchaseSucceeded(String, String, String) 11.05 16:06:22.381 26300 26372 Info Unity: UnityEngine.Purchasing.<>c__DisplayClass5_0:<OnPurchaseSucceeded>b__0() 11.05 16:06:22.381 26300 26372 Info Unity: System.Action:Invoke() 11.05 16:06:22.381 26300 26372 Info Unity: UnityEngine.Purchasing.Extension.UnityUtil:Update() 11.05 16:06:22.381 26300 26372 Info Unity: 11.05 16:06:22.381 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:06:22.381 26300 26372 Info Unity: 11.05 16:06:22.395 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:22.396 26300 26525 Info FrameStatistics: total frames: 6803 11.05 16:06:22.396 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:22.396 26300 26525 Info FrameStatistics: idle frames: 6799 2 0 0 0 0 11.05 16:06:22.396 26300 26525 Info FrameStatistics: late frames: 6741 17 14 10 7 5 11.05 16:06:22.396 26300 26525 Info FrameStatistics: offset from previous frame: 700 6079 12 6 3 1 11.05 16:06:22.396 26300 26525 Info FrameStatistics: frame latency: 11 0 6745 33 5 6 11.05 16:06:23.404 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:23.404 26300 26525 Info FrameStatistics: total frames: 6862 11.05 16:06:23.404 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:23.404 26300 26525 Info FrameStatistics: idle frames: 6858 2 0 0 0 0 11.05 16:06:23.404 26300 26525 Info FrameStatistics: late frames: 6796 17 14 10 7 6 11.05 16:06:23.404 26300 26525 Info FrameStatistics: offset from previous frame: 711 6128 12 7 3 1 11.05 16:06:23.404 26300 26525 Info FrameStatistics: frame latency: 12 0 6801 34 6 6 11.05 16:06:24.407 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:24.407 26300 26525 Info FrameStatistics: total frames: 6922 11.05 16:06:24.407 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:24.407 26300 26525 Info FrameStatistics: idle frames: 6918 2 0 0 0 0 11.05 16:06:24.407 26300 26525 Info FrameStatistics: late frames: 6856 17 14 10 7 6 11.05 16:06:24.407 26300 26525 Info FrameStatistics: offset from previous frame: 724 6175 12 7 3 1 11.05 16:06:24.407 26300 26525 Info FrameStatistics: frame latency: 12 0 6861 34 6 6 11.05 16:06:25.410 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:25.410 26300 26525 Info FrameStatistics: total frames: 6982 11.05 16:06:25.410 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:25.410 26300 26525 Info FrameStatistics: idle frames: 6978 2 0 0 0 0 11.05 16:06:25.410 26300 26525 Info FrameStatistics: late frames: 6916 17 14 10 7 6 11.05 16:06:25.410 26300 26525 Info FrameStatistics: offset from previous frame: 731 6228 12 7 3 1 11.05 16:06:25.410 26300 26525 Info FrameStatistics: frame latency: 12 0 6921 34 6 6 11.05 16:06:26.414 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:26.414 26300 26525 Info FrameStatistics: total frames: 7042 11.05 16:06:26.414 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:26.414 26300 26525 Info FrameStatistics: idle frames: 7038 2 0 0 0 0 11.05 16:06:26.414 26300 26525 Info FrameStatistics: late frames: 6976 17 14 10 7 6 11.05 16:06:26.414 26300 26525 Info FrameStatistics: offset from previous frame: 732 6287 12 7 3 1 11.05 16:06:26.414 26300 26525 Info FrameStatistics: frame latency: 12 0 6981 34 6 6 11.05 16:06:27.416 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:27.417 26300 26525 Info FrameStatistics: total frames: 7102 11.05 16:06:27.417 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:27.417 26300 26525 Info FrameStatistics: idle frames: 7098 2 0 0 0 0 11.05 16:06:27.417 26300 26525 Info FrameStatistics: late frames: 7036 17 14 10 7 6 11.05 16:06:27.417 26300 26525 Info FrameStatistics: offset from previous frame: 737 6342 12 7 3 1 11.05 16:06:27.417 26300 26525 Info FrameStatistics: frame latency: 12 0 7041 34 6 6 11.05 16:06:28.418 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:28.419 26300 26525 Info FrameStatistics: total frames: 7162 11.05 16:06:28.419 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:28.419 26300 26525 Info FrameStatistics: idle frames: 7158 2 0 0 0 0 11.05 16:06:28.419 26300 26525 Info FrameStatistics: late frames: 7096 17 14 10 7 6 11.05 16:06:28.419 26300 26525 Info FrameStatistics: offset from previous frame: 741 6398 12 7 3 1 11.05 16:06:28.419 26300 26525 Info FrameStatistics: frame latency: 12 0 7101 34 6 6 11.05 16:06:29.421 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:29.421 26300 26525 Info FrameStatistics: total frames: 7222 11.05 16:06:29.421 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:29.421 26300 26525 Info FrameStatistics: idle frames: 7218 2 0 0 0 0 11.05 16:06:29.421 26300 26525 Info FrameStatistics: late frames: 7156 17 14 10 7 6 11.05 16:06:29.421 26300 26525 Info FrameStatistics: offset from previous frame: 745 6454 12 7 3 1 11.05 16:06:29.421 26300 26525 Info FrameStatistics: frame latency: 12 0 7161 34 6 6 11.05 16:06:30.424 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:30.425 26300 26525 Info FrameStatistics: total frames: 7282 11.05 16:06:30.425 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:30.425 26300 26525 Info FrameStatistics: idle frames: 7278 2 0 0 0 0 11.05 16:06:30.425 26300 26525 Info FrameStatistics: late frames: 7216 17 14 10 7 6 11.05 16:06:30.425 26300 26525 Info FrameStatistics: offset from previous frame: 757 6502 12 7 3 1 11.05 16:06:30.425 26300 26525 Info FrameStatistics: frame latency: 12 0 7221 34 6 6 11.05 16:06:31.427 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:31.428 26300 26525 Info FrameStatistics: total frames: 7342 11.05 16:06:31.428 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:31.428 26300 26525 Info FrameStatistics: idle frames: 7338 2 0 0 0 0 11.05 16:06:31.428 26300 26525 Info FrameStatistics: late frames: 7276 17 14 10 7 6 11.05 16:06:31.428 26300 26525 Info FrameStatistics: offset from previous frame: 772 6547 12 7 3 1 11.05 16:06:31.428 26300 26525 Info FrameStatistics: frame latency: 12 0 7281 34 6 6 11.05 16:06:32.430 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:32.430 26300 26525 Info FrameStatistics: total frames: 7402 11.05 16:06:32.430 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:32.430 26300 26525 Info FrameStatistics: idle frames: 7398 2 0 0 0 0 11.05 16:06:32.430 26300 26525 Info FrameStatistics: late frames: 7336 17 14 10 7 6 11.05 16:06:32.430 26300 26525 Info FrameStatistics: offset from previous frame: 784 6595 12 7 3 1 11.05 16:06:32.430 26300 26525 Info FrameStatistics: frame latency: 12 0 7341 34 6 6 11.05 16:06:33.433 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:33.433 26300 26525 Info FrameStatistics: total frames: 7462 11.05 16:06:33.433 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:33.433 26300 26525 Info FrameStatistics: idle frames: 7458 2 0 0 0 0 11.05 16:06:33.433 26300 26525 Info FrameStatistics: late frames: 7396 17 14 10 7 6 11.05 16:06:33.433 26300 26525 Info FrameStatistics: offset from previous frame: 797 6642 12 7 3 1 11.05 16:06:33.433 26300 26525 Info FrameStatistics: frame latency: 12 0 7401 34 6 6 11.05 16:06:34.435 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:34.436 26300 26525 Info FrameStatistics: total frames: 7522 11.05 16:06:34.436 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:34.436 26300 26525 Info FrameStatistics: idle frames: 7518 2 0 0 0 0 11.05 16:06:34.436 26300 26525 Info FrameStatistics: late frames: 7456 17 14 10 7 6 11.05 16:06:34.436 26300 26525 Info FrameStatistics: offset from previous frame: 809 6690 12 7 3 1 11.05 16:06:34.436 26300 26525 Info FrameStatistics: frame latency: 12 0 7461 34 6 6 11.05 16:06:35.439 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:35.439 26300 26525 Info FrameStatistics: total frames: 7582 11.05 16:06:35.439 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:35.439 26300 26525 Info FrameStatistics: idle frames: 7578 2 0 0 0 0 11.05 16:06:35.439 26300 26525 Info FrameStatistics: late frames: 7516 17 14 10 7 6 11.05 16:06:35.439 26300 26525 Info FrameStatistics: offset from previous frame: 811 6748 12 7 3 1 11.05 16:06:35.439 26300 26525 Info FrameStatistics: frame latency: 12 0 7521 34 6 6 11.05 16:06:36.441 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:36.441 26300 26525 Info FrameStatistics: total frames: 7642 11.05 16:06:36.441 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:36.441 26300 26525 Info FrameStatistics: idle frames: 7638 2 0 0 0 0 11.05 16:06:36.441 26300 26525 Info FrameStatistics: late frames: 7576 17 14 10 7 6 11.05 16:06:36.441 26300 26525 Info FrameStatistics: offset from previous frame: 815 6804 12 7 3 1 11.05 16:06:36.441 26300 26525 Info FrameStatistics: frame latency: 12 0 7581 34 6 6 11.05 16:06:37.444 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:37.445 26300 26525 Info FrameStatistics: total frames: 7702 11.05 16:06:37.445 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:37.445 26300 26525 Info FrameStatistics: idle frames: 7698 2 0 0 0 0 11.05 16:06:37.445 26300 26525 Info FrameStatistics: late frames: 7636 17 14 10 7 6 11.05 16:06:37.445 26300 26525 Info FrameStatistics: offset from previous frame: 819 6860 12 7 3 1 11.05 16:06:37.445 26300 26525 Info FrameStatistics: frame latency: 12 0 7641 34 6 6 11.05 16:06:38.447 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:38.447 26300 26525 Info FrameStatistics: total frames: 7762 11.05 16:06:38.447 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:38.447 26300 26525 Info FrameStatistics: idle frames: 7758 2 0 0 0 0 11.05 16:06:38.447 26300 26525 Info FrameStatistics: late frames: 7696 17 14 10 7 6 11.05 16:06:38.447 26300 26525 Info FrameStatistics: offset from previous frame: 829 6910 12 7 3 1 11.05 16:06:38.447 26300 26525 Info FrameStatistics: frame latency: 12 0 7701 34 6 6 11.05 16:06:39.450 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:39.450 26300 26525 Info FrameStatistics: total frames: 7822 11.05 16:06:39.450 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:39.450 26300 26525 Info FrameStatistics: idle frames: 7818 2 0 0 0 0 11.05 16:06:39.450 26300 26525 Info FrameStatistics: late frames: 7756 17 14 10 7 6 11.05 16:06:39.450 26300 26525 Info FrameStatistics: offset from previous frame: 837 6962 12 7 3 1 11.05 16:06:39.450 26300 26525 Info FrameStatistics: frame latency: 12 0 7761 34 6 6 11.05 16:06:40.453 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:06:40.453 26300 26525 Info FrameStatistics: total frames: 7882 11.05 16:06:40.453 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:06:40.453 26300 26525 Info FrameStatistics: idle frames: 7878 2 0 0 0 0 11.05 16:06:40.453 26300 26525 Info FrameStatistics: late frames: 7816 17 14 10 7 6 11.05 16:06:40.453 26300 26525 Info FrameStatistics: offset from previous frame: 851 7008 12 7 3 1 11.05 16:06:40.453 26300 26525 Info FrameStatistics: frame latency: 12 0 7821 34 6 6 Here the stack for similar another item, it shows when i click buy and native google but dialog appears. You can find here Code (CSharp): 11.05 16:11:13.883 26300 26300 Info UnityIAP: oldSkuMetadata is null Code (CSharp): 01.01 00:00:00.000 -1 -1 Info : --------- beginning of main 11.05 16:11:12.525 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:11:12.526 26300 26525 Info FrameStatistics: total frames: 24131 11.05 16:11:12.526 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:11:12.526 26300 26525 Info FrameStatistics: idle frames: 24126 2 0 0 0 0 11.05 16:11:12.526 26300 26525 Info FrameStatistics: late frames: 24066 17 14 10 7 6 11.05 16:11:12.526 26300 26525 Info FrameStatistics: offset from previous frame: 3627 20480 12 7 3 1 11.05 16:11:12.526 26300 26525 Info FrameStatistics: frame latency: 12 0 24070 34 6 6 11.05 16:11:13.529 26300 26525 Info FrameStatistics: == Frame statistics == 11.05 16:11:13.529 26300 26525 Info FrameStatistics: total frames: 24191 11.05 16:11:13.529 26300 26525 Info FrameStatistics: Buckets: [0] [1] [2] [3] [4] [5] 11.05 16:11:13.529 26300 26525 Info FrameStatistics: idle frames: 24186 2 0 0 0 0 11.05 16:11:13.529 26300 26525 Info FrameStatistics: late frames: 24126 17 14 10 7 6 11.05 16:11:13.529 26300 26525 Info FrameStatistics: offset from previous frame: 3637 20530 12 7 3 1 11.05 16:11:13.529 26300 26525 Info FrameStatistics: frame latency: 12 0 24130 34 6 6 11.05 16:11:13.746 26300 26372 Info Unity: Purchasing product asychronously: ballads_v_5 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:11:13.746 26300 26372 Info Unity: Purchaser:BuyProductID(String) 11.05 16:11:13.746 26300 26372 Info Unity: JamPacksViewsHolder:OnBuyButtonClick() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.Events.UnityAction:Invoke() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.Events.InvokableCall:Invoke() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.Events.UnityEvent:Invoke() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.UI.Button:Press() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.UI.Button:OnPointerClick(PointerEventData) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean) 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:Process() 11.05 16:11:13.746 26300 26372 Info Unity: UnityEngine.EventSystems.EventSystem:Update() 11.05 16:11:13.746 26300 26372 Info Unity: 11.05 16:11:13.746 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bi 11.05 16:11:13.747 26300 26372 Info UnityIAP: isUnityVrEnabled = false 11.05 16:11:13.747 26300 26372 Info UnityIAP: onPurchaseProduct: ballads_v_5 11.05 16:11:13.747 26300 26372 Info UnityIAP: ITEM TYPE:inapp 01.01 00:00:00.000 -1 -1 Info : --------- beginning of system 11.05 16:11:13.755 26300 26300 Info Unity: onPause 11.05 16:11:13.758 26300 26372 Info Unity: purchase({0}): ballads_v_5 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.Logger:Log(String, Object) 11.05 16:11:13.758 26300 26372 Info Unity: Purchaser:BuyProductID(String) 11.05 16:11:13.758 26300 26372 Info Unity: JamPacksViewsHolder:OnBuyButtonClick() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.Events.UnityAction:Invoke() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.Events.InvokableCall:Invoke() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.Events.UnityEvent:Invoke() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.UI.Button:Press() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.UI.Button:OnPointerClick(PointerEventData) 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData) 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData) 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean) 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.StandaloneInputModule:Process() 11.05 16:11:13.758 26300 26372 Info Unity: UnityEngine.EventSystems.EventSystem:Update() 11.05 16:11:13.758 26300 26372 Info Unity: 11.05 16:11:13.758 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:11:13.758 26300 26372 Info Unity: 11.05 16:11:13.776 26300 26372 Info Unity: UserSettingsManager OnApplicationPause pauseStatus = True 11.05 16:11:13.776 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:11:13.776 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:11:13.776 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:11:13.776 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:11:13.776 26300 26372 Info Unity: 11.05 16:11:13.776 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:11:13.776 26300 26372 Info Unity: 11.05 16:11:13.777 26300 26372 Info Unity: CommonSettings SaveVars 11.05 16:11:13.777 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:11:13.777 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:11:13.777 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:11:13.777 26300 26372 Info Unity: CommonSettings:SaveVars() 11.05 16:11:13.777 26300 26372 Info Unity: UnityEngine.Events.UnityAction:Invoke() 11.05 16:11:13.777 26300 26372 Info Unity: UnityEngine.Events.InvokableCall:Invoke() 11.05 16:11:13.777 26300 26372 Info Unity: UnityEngine.Events.UnityEvent:Invoke() 11.05 16:11:13.777 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:11:13.777 26300 26372 Info Unity: 11.05 16:11:13.777 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:11:13.777 26300 26372 Info Unity: 11.05 16:11:13.799 26300 26372 Info Unity: UserSettingsManager SyncEs3File 11.05 16:11:13.799 26300 26372 Info Unity: UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) 11.05 16:11:13.799 26300 26372 Info Unity: UnityEngine.Logger:Log(LogType, Object) 11.05 16:11:13.799 26300 26372 Info Unity: UnityEngine.Debug:Log(Object) 11.05 16:11:13.799 26300 26372 Info Unity: UserSettingsManager:SyncEs3File() 11.05 16:11:13.799 26300 26372 Info Unity: UserSettingsManager:OnApplicationPause(Boolean) 11.05 16:11:13.799 26300 26372 Info Unity: 11.05 16:11:13.799 26300 26372 Info Unity: (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 11.05 16:11:13.799 26300 26372 Info Unity: 11.05 16:11:13.869 26300 26372 Debug Unity: Sensor : Accelerometer ( 1) ; 0.004791 / 0.00s ; BMI160 Accelerometer / BOSCH 11.05 16:11:13.877 26300 26300 Warn ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a8f0baa 11.05 16:11:13.883 26300 26300 Info UnityIAP: Creating purchase activity 11.05 16:11:13.883 26300 26300 Info UnityIAP: oldSkuMetadata is null 11.05 16:11:13.883 26300 26579 Info UnityIAP: invoking callback 11.05 16:11:13.884 26300 26579 Info UnityIAP: Constructing buy intent for ballads_v_5, item type: inapp 11.05 16:11:13.889 26300 26579 Info UnityIAP: Launching buy intent for ballads_v_5. Request code: 999 11.05 16:11:13.904 26300 26300 Info Unity: windowFocusChanged: false
IAP requires an Internet connection. I don't see any errors in the logs. Are you still discussing the AppNotKnown return code, the topic of this thread? Also, we are looking into an issue where PurchaseFailed is called only the first time a purchase is attempted with no Internet connection. On subsequent purchase attempts with no Internet, there is no callback. We are looking to address this in an upcoming release.
I'am trying discussing 2 topics. 1)"IAP requires an Internet connection". But why it shows AppNotKnown error on phone with definitely enabled Google Play? It is developer google console account. Other apps with same version unity iap are working fine. 2)Second topic is error while purchasing. Errors(in ProcessPurchase method) in this message. Here is ProcessPurchase part of code when it happens Code (CSharp): public PurchaseProcessingResult ProcessPurchase(PurchaseEventArgs args) { #if RECEIPT_VALIDATION // Local validation is available for GooglePlay, Apple if (m_IsGooglePlayStoreSelected || Application.platform == RuntimePlatform.IPhonePlayer || Application.platform == RuntimePlatform.OSXPlayer || Application.platform == RuntimePlatform.tvOS) { try { if (args.purchasedProduct == null) { Debug.LogWarning("args.purchasedProduct == null"); } if (args.purchasedProduct.receipt == null) { Debug.LogWarning("args.purchasedProduct.receipt == null"); } var result = validator.Validate(args.purchasedProduct.receipt); Debug.Log("Receipt is valid. Contents:"); foreach (IPurchaseReceipt productReceipt in result) { Debug.Log(productReceipt.productID); Debug.Log(productReceipt.purchaseDate); Debug.Log(productReceipt.transactionID); GooglePlayReceipt google = productReceipt as GooglePlayReceipt; if (null != google) { Debug.Log(google.purchaseState); Debug.Log(google.purchaseToken); } UnityChannelReceipt unityChannel = productReceipt as UnityChannelReceipt; if (null != unityChannel) { Debug.Log(unityChannel.productID); Debug.Log(unityChannel.purchaseDate); Debug.Log(unityChannel.transactionID); } AppleInAppPurchaseReceipt apple = productReceipt as AppleInAppPurchaseReceipt; if (null != apple) { Debug.Log(apple.originalTransactionIdentifier); Debug.Log(apple.subscriptionExpirationDate); Debug.Log(apple.cancellationDate); Debug.Log(apple.quantity); } // For improved security, consider comparing the signed // IPurchaseReceipt.productId, IPurchaseReceipt.transactionID, and other data // embedded in the signed receipt objects to the data which the game is using // to make this purchase. } } catch (IAPSecurityException ex) { Debug.LogWarning(ex.Message); Debug.LogError($"Invalid receipt, not unlocking content. {ex} {ex.Message}"); MyCrashlytics.Instance.LogNonFatal(new Exception($"ProcessPurchase error 1"), $"error {ex.Message}", true); return PurchaseProcessingResult.Complete; } } #endif So, again, here the flow. Internet is on. purchasedProduct and purchasedProduct.receipt are not null. Exception thrown in this line Code (CSharp): var result = validator.Validate(args.purchasedProduct.receipt); 1)I'am trying to buy item, but got an error(UnityEngine.Purchasing.Security.InvalidSignatureException) 2)If i reload app, item status is handling ok. PS. I am using one unity project for 2 apps, just changing package name. Everything else the same. Could be this a source of problem?
One issue per thread please to avoid confusion. This thread deals with the topic title AppNotKnown. Please open a separate thread for the other issue. IAP for any app requires the Internet to handle the transactions, and if not, they are not connected to Google Play by definition. IAP transactions do not flow through any Unity online service, they go directly from the app to the respective store through the store native API. We are a pass-through service only. If you get the AppNotKnown error, you'll want the user to check their Google Play account (which requires Internet access)
Today users send me message that he bought non-consumable, but can't get it functional. I check his crashlytics log and found "AppNotKnown" error. What could be wrong with Google Play account, if user has ability to make a purchasing?
If there is no network or Google Play account is not logged in, initialization will fail and return "Unknown" message. On some devices, this issue also occurs if the user manually changes the device date and time. In addition, in areas where Google Play services are not accessible, users should use a VPN for in-app purchases. In general, we should remind users to check the network and Google Play account status when encountering the "Unknown" message.
If the initialization fails, you need to try to initialize IAP again, and users can only purchase after IAP successful initialization.