I have new behavior after updating to the iOS 17.5.1 and Unity 2022.3.30/31.
I made a sandbox USA purchase for AR Masker subscription on iOS in Dev Mode, then after several minutes, I clicked the “restore” button just to test — the App was frozen.
The next openings of app, the app is frozen at start, the phone is heated, and the app becomes normal after several minutes.
Unity console shows nothing because the connection to the phone is reset when making a purchase.
Xcode shows nothing without throwing of error because of this: Unity Issue Tracker - Logs don’t show up in Xcode when using WebCamTexture Class
Next I deleted the app and install it again - no freezes are here.
Next I clicked “restore”, and freeze is here with the same behavior. But it was frozen twice: after restoring and a little bit later.
Next opening of app, the behavior is the same.
The previous test of IAP was on March 12, with Editor Version: 2022.3.20f1 and “com.unity.purchasing”: “4.10.0” without freezing.
Today’s test was with Unity 2022.3.30/31 and “com.unity.purchasing”: “4.11.0”.
I have iOS 17.5.1 for now and can’t say you about iOS in March.
I use [SIS/Simple IAP Sytem asset (Unipay)] to operate with IAPs, and @Baroni1 - author of this asset - said next:
“I have heard of the freezing bug before when doing purchases in iOS 17.5 with Unity IAP. However, Simple IAP System does not contain any native code that could cause this.”
So @Yannick_D @bcamus can you fix that?