Error in remote proxy while processing transaction: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.storekitd"

I am working on a billing implementation in UnityIAP.
Recently, when I press the billing button on iOS, I get an Unknown error the first time,
I checked the logs and found the following error.

<SKPaymentQueue: 0x2823b65c0>: Error in remote proxy while processing transaction: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.storekitd" UserInfo={NSDebugDescription=connection to service named com.apple.storekitd}\

Special conditions,
When this is occurring, addTransactionObserver is being called after the purchase order.
If addTransactionObserver is called for a paymentQueue during the purchase process, would this error be called?

Or if there is any problem on the AppleStore side, I would appreciate it if you could let me know.
Thank you in advance.

  • 【Environment Information】UnityVersion: 2021.3.10.1f, UnityIAPVersion: 4.6.0【Device where the issue was confirmed】iphone 12 mini IOS16.4.1, iphone 12 mini IOS16.1, iphone X ios15.6.1, iphone X ios16.4

Add a Comment

Replies

Additional Infos

We have never had this error with Sandbox.

Seems very familiar the issue we've been experiencing:

https://developer.apple.com/forums/thread/743789

Have you ever found the cause/solution?