Hi All,
When I build an empty project, it works fine in iPhone but it crashes in iPad Pro (iOS 12.1).
App crashes on all versions of 2018.3.X (BETA). Tested with Xcode 10.0 & 10.1
How to fix this issue?.
----------
Uncaught exception: NSInvalidArgumentException: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
(
0 CoreFoundation 0x000000022cc67eb8 + 252
1 libobjc.A.dylib 0x000000022be39a40 objc_exception_throw + 56
2 CoreFoundation 0x000000022cbdf470 _CFArgv + 0
3 CoreFoundation 0x000000022cb585f4 + 284
4 CoreFoundation 0x000000022cb51d58 + 52
5 testonly 0x00000001051d5314 get_Alldata + 128
6 testonly 0x00000001052d8eec PlatformInfoDispatcher_ReportAnalyticsData_m87A1A2582357F9B813ECA796A1A96E8EC15711DC + 80
7 testonly 0x0000000104c20bcc _Z66RuntimeInvoker_FalseVoid_tDB81A15FA2AB53E2401A76B745D215397B29F783PFvvEPK10MethodInfoPvPS4_ + 20
8 testonly 0x00000001051c21d8 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 116
9 testonly 0x00000001050488bc _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 100
10 testonly 0x0000000105051898 _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 60
11 testonly 0x0000000104fb2b18 _ZN30RuntimeInitializeOnLoadManager23ExecuteInitializeOnLoadENSt3__16vectorIi13stl_allocatorIiL18MemLabelIdentifier13ELi16EEEE + 236
12 testonly 0x0000000104fb28bc _ZN30RuntimeInitializeOnLoadManager23ExecuteInitializeOnLoadE25RuntimeInitializeLoadType + 76
13 testonly 0x0000000104fc55b4 _ZN18LoadSceneOperation19IntegrateMainThreadEv + 208
14 testonly 0x0000000104fc6480 _ZN14PreloadManager26UpdatePreloadingSingleStepENS_21UpdatePreloadingFlagsEi + 284
15 testonly 0x0000000104fc6b08 _ZN14PreloadManager16UpdatePreloadingEv + 248
16 testonly 0x000000010513d070 _ZL19UnityPlayerLoopImplb + 116
17 testonly 0x0000000104bdccec UnityRepaint + 140
18 testonly 0x0000000104bdcbd8 -[UnityAppController(Rendering) repaintDisplayLink] + 88
19 GPUToolsCore 0x000000010730964c -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 176
20 QuartzCore 0x000000023112b854 + 828
21 IOKit 0x000000022cec7b94 IODispatchCalloutFromCFMessage + 488
22 CoreFoundation 0x000000022cbd0ff8 + 188
23 CoreFoundation 0x000000022cbf8844 + 56
24 CoreFoundation 0x000000022cbf7f90 + 440
25 CoreFoundation 0x000000022cbf2d48 + 2140
26 CoreFoundation 0x000000022cbf21cc CFRunLoopRunSpecific + 436
27 GraphicsServices 0x000000022ee69584 GSEventRunModal + 100
28 UIKitCore 0x00000002597f5054 UIApplicationMain + 212
29 testonly 0x0000000104bd6040 main + 160
30 libdyld.dylib 0x000000022c6b2bb4 + 4
)
2018-11-04 22:30:09.474322+0530 testonly[412:60964] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x22cc67ea0 0x22be39a40 0x22cbdf470 0x22cb585f4 0x22cb51d58 0x1051d5314 0x1052d8eec 0x104c20bcc 0x1051c21d8 0x1050488bc 0x105051898 0x104fb2b18 0x104fb28bc 0x104fc55b4 0x104fc6480 0x104fc6b08 0x10513d070 0x104bdccec 0x104bdcbd8 0x10730964c 0x23112b854 0x22cec7b94 0x22cbd0ff8 0x22cbf8844 0x22cbf7f90 0x22cbf2d48 0x22cbf21cc 0x22ee69584 0x2597f5054 0x104bd6040 0x22c6b2bb4)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
↧