u3dxt basic In App Purchase crash

Hi, I’m using the u3dxt basic plugin for in app purchases in my iOS app Unfolder. Everything has worked fine on my development devices, but upon release I have a report from a user on iOS6.1.2 that the app crashed when he tried to purchase something. He has closed, deleted, and re downloaded the app, and now it crashes on the start screen every time. I don’t have any devices running 6.1.2, and I have not been able to reproduce the crash on iOS 7.

Here is the crashlog he sent me:

Incident Identifier: 9A0195C6-0786-4009-8A97-2777CABDBEE5
CrashReporter Key:   ebb8eba5ddfc555302cd64e1668f0c5cf1ba9e31
Hardware Model:      iPad3,4
Process:         Unfolder [294]
Path:            /var/mobile/Applications/D4A67E75-FF9D-4543-9B49-349F9A4FC55C/Unfolder.app/Unfolder
Identifier:      Unfolder
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2014-01-16 13:06:05.246 -0800
OS Version:      iOS 6.1.2 (10B146)
Report Version:  104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Unfolder                      	0x00b7458c 0x2a000 + 11838860
1   Unfolder                      	0x005f9bc8 0x2a000 + 6093768
2   Unfolder                      	0x0111a384 0x2a000 + 17761156
3   Unfolder                      	0x011bc3d4 0x2a000 + 18424788
4   Unfolder                      	0x011bc558 0x2a000 + 18425176
5   Unfolder                      	0x011c07cc 0x2a000 + 18442188
6   Unfolder                      	0x011c26e0 0x2a000 + 18450144
7   Unfolder                      	0x0112a500 0x2a000 + 17827072
8   Unfolder                      	0x0112ad98 0x2a000 + 17829272
9   Unfolder                      	0x01146514 0x2a000 + 17941780
10  Unfolder                      	0x0111aaf0 0x2a000 + 17763056
11  libsystem_c.dylib             	0x39493d38 _sigtramp + 40
12  Unfolder                      	0x000887e8 0x2a000 + 387048
13  Unfolder                      	0x000887e8 0x2a000 + 387048
14  Unfolder                      	0x00084e94 0x2a000 + 372372
15  Unfolder                      	0x0053cfc4 0x2a000 + 5320644
16  Unfolder                      	0x0053ce90 0x2a000 + 5320336
17  Unfolder                      	0x0053e02c 0x2a000 + 5324844
18  Unfolder                      	0x0052dcd4 0x2a000 + 5258452
19  Unfolder                      	0x004807f0 0x2a000 + 4548592
20  Unfolder                      	0x004d189c 0x2a000 + 4880540
21  Unfolder                      	0x012c205e 0x2a000 + 19497054
22  StoreKit                      	0x32f5d0b4 __NotifyObserverAboutChanges + 80
23  CoreFoundation                	0x310e5aca CFArrayApplyFunction + 174
24  StoreKit                      	0x32f5d050 -[SKPaymentQueue _notifyObserversAboutChanges:sendUpdatedDownloads:] + 124
25  StoreKit                      	0x32f5d912 -[SKPaymentQueue _processUpdates:trimUnmatched:sendUpdatedDownloads:] + 990
26  StoreKit                      	0x32f5dff0 -[SKPaymentQueue _setTransactionsWithReply:] + 152
27  StoreKit                      	0x32f5cbea __block_global_0 + 58
28  libdispatch.dylib             	0x39439790 _dispatch_call_block_and_release + 8
29  libdispatch.dylib             	0x394395d8 _dispatch_client_callout + 20
30  libdispatch.dylib             	0x3943ce40 _dispatch_main_queue_callback_4CF + 224
31  CoreFoundation                	0x311731ac __CFRunLoopRun + 1284
32  CoreFoundation                	0x310e6238 CFRunLoopRunSpecific + 352
33  CoreFoundation                	0x310e60c4 CFRunLoopRunInMode + 100
34  GraphicsServices              	0x34ca0336 GSEventRunModal + 70
35  UIKit                         	0x330022b4 UIApplicationMain + 1116
36  Unfolder                      	0x0002ee1c 0x2a000 + 19996
37  libdyld.dylib                 	0x3944cb

Any idea what could be causing this? And is this likely an iOS6 problem?

Hi cgaudino, the cause of this crash is the Apple servers sometimes not sending back a valid productIdentifier. Other native developers have seen the same thing. iphone - In App Purchase (IAP) process appears to be crashing the app on launch for one of my users - Stack Overflow.

We will add a check for it in the next version.