TROPHiT / UnityDeeplinks

A set of tools for Unity to allow handling deeplink activation from within Unity scripts
Apache License 2.0
104 stars 29 forks source link

Crash on init #7

Open Roma6 opened 7 years ago

Roma6 commented 7 years ago

Can you help me please? I created a GameObject for the "UnityDeeplinks.cs" script and put "UnityDeeplinks.mm" into the Plugins/iOS folder. I am having this error on init:

a

2017-05-31 14:26:31.212344 monshibai[24008:5370379] [DYMTLInitPlatform] platform initialization successful

2017-05-31 14:26:31.465897 monshibai[24008:5370240] FCM: Loading UIApplication FIRFCM category

2017-05-31 14:26:31.692878 monshibai[24008:5370240] -> registered mono modules 0x1016570f0

2017-05-31 14:26:32.145938 monshibai[24008:5370240] didFinishLaunchingWithOptions: Not from notification

2017-05-31 14:26:32.166398 monshibai[24008:5370240] Setting up iOS 10 message delegate. -> applicationDidFinishLaunching() Player data archive not found at /var/containers/Bundle/Application/7BFAE1BC-921E-4246-B657-85A0CA9B7C40/monshibai.app/Data/data.unity3d, using local filesystem2017-05-31 14:26:32.351940 monshibai[24008:5370240] Metal GPU Frame Capture Enabled

2017-05-31 14:26:32.353195 monshibai[24008:5370240] Metal API Validation Disabled -> applicationDidBecomeActive() GfxDevice: creating device client; threaded=1 Initializing Metal device caps: Apple A7 GPU Initialize engine version: 5.6.0f3 (497a0f351392)

2017-05-31 14:26:32.618169 monshibai[24008:5370371] [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8.

2017-05-31 14:26:32.619 monshibai[24008] [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8.

2017-05-31 14:26:33.599219 monshibai[24008:5370358] [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8.

2017-05-31 14:26:33.619 monshibai[24008] [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure] to your application initialization. Read more: https://goo.gl/ctyzm8.

UnloadTime: 4.987791 ms

2017-05-31 14:26:35.540867 monshibai[24008:5370240] -[LocalNotifications setGameObjectName:]: unrecognized selector sent to instance 0x17411d760

2017-05-31 14:26:35.719655 monshibai[24008:5370240] Uncaught exception: NSInvalidArgumentException: -[LocalNotifications setGameObjectName:]: unrecognized selector sent to instance 0x17411d760 ( 0 CoreFoundation 0x00000001885fe1d8 + 148 1 libobjc.A.dylib 0x000000018703855c objc_exception_throw + 56 2 CoreFoundation 0x0000000188605278 + 0 3 CoreFoundation 0x0000000188602278 + 916 4 CoreFoundation 0x00000001884fc59c _CF_forwarding_prep_0 + 92 5 monshibai 0x00000001009ffa8c UnityDeeplinks_init + 124 6 monshibai 0x0000000100171ec8 UnityDeeplinks_UnityDeeplinks_init_m1677218210 + 52 7 monshibai 0x00000001009bb9b0 _Z31RuntimeInvoker_Voidt1841601450PK10MethodInfoPvPS2 + 28 8 monshibai 0x000000010133237c _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 68 9 monshibai 0x0000000100d6eef0 _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 100 10 monshibai 0x0000000100d68180 _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 60 11 monshibai 0x0000000100e4bef4 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr + 1216 12 monshibai 0x0000000100e4c108 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr + 92 13 monshibai 0x0000000100e4aea0 _ZN13MonoBehaviour16DelayedStartCallEP6ObjectPv + 88 14 monshibai 0x0000000100bef270 _ZN18DelayedCallManager6UpdateEi + 676 15 monshibai 0x0000000100cf0ae8 _Z10PlayerLoopv + 440 16 monshibai 0x0000000100ebabb8 _ZL19UnityPlayerLoopImplb + 32 17 monshibai 0x00000001001049e0 UnityRepaint + 140 18 monshibai 0x00000001001048cc -[UnityAppController(Rendering) repaintDisplayLink] + 88 19 GPUToolsCore 0x00000001043f7b1c -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 176 20 QuartzCore 0x000000018b8041bc + 44 21 QuartzCore 0x000000018b804068 + 444 22 IOKit 0x000000018886b138 IODispatchCalloutFromCFMessage + 372 23 CoreFoundation 0x000000018859456c + 180 24 CoreFoundation 0x00000001885ac934 + 56 25 CoreFoundation 0x00000001885ac0e8 + 436 26 CoreFoundation 0x00000001885a9bcc + 1840 27 CoreFoundation 0x00000001884d8048 CFRunLoopRunSpecific + 444 28 GraphicsServices 0x0000000189f5e198 GSEventRunModal + 180 29 UIKit 0x000000018e4bd2fc + 684 30 UIKit 0x000000018e4b8034 UIApplicationMain + 208 31 monshibai 0x00000001000fe49c main + 172 32 libdyld.dylib 0x00000001874bc5b8 + 4 )

2017-05-31 14:26:35.721995 monshibai[24008:5370240] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[LocalNotifications setGameObjectName:]: unrecognized selector sent to instance 0x17411d760' First throw call stack: (0x1885fe1c0 0x18703855c 0x188605278 0x188602278 0x1884fc59c 0x1009ffa8c 0x100171ec8 0x1009bb9b0 0x10133237c 0x100d6eef0 0x100d68180 0x100e4bef4 0x100e4c108 0x100e4aea0 0x100bef270 0x100cf0ae8 0x100ebabb8 0x1001049e0 0x1001048cc 0x1043f7b1c 0x18b8041bc 0x18b804068 0x18886b138 0x18859456c 0x1885ac934 0x1885ac0e8 0x1885a9bcc 0x1884d8048 0x189f5e198 0x18e4bd2fc 0x18e4b8034 0x1000fe49c 0x1874bc5b8) libc++abi.dylib: terminating with uncaught exception of type NSException