Recently I integrated a deeplink asset from here GitHub - TROPHiT/UnityDeeplinks: A set of tools for Unity to allow handling deeplink activation from within Unity scripts
It worked great and allowed integrating a link into our notification system that allowed us to send people to different dialog boxes when they tapped the notification and the app loaded up.
However, I discovered that if the app was opened from a deeplink notification and then the button to view an ad (we are using Unity’s ad service v2.0) was tapped, the app would die.
Ads continue to play fine if the app is loaded from the app icon or from a notification that doesn’t use a deep link.
I have added a logcat from when I tapped on the notification up to when it crashes after tapping the ad button, but I didn’t really see what may be creating an issue, so I’m confused on what may be happening.
I appreciate any help provided as we would certainly like to get deep linking working without having viewing ads crashing the game.
Logcat from crash
C:\Users\owner\AppData\Local\Android\android-sdk\platform-tools>adb logcat -c
C:\Users\owner\AppData\Local\Android\android-sdk\platform-tools>adb logcat > dee
plink3.txt
^C
C:\Users\owner\AppData\Local\Android\android-sdk\platform-tools>adb logcat -c
C:\Users\owner\AppData\Local\Android\android-sdk\platform-tools>adb logcat -s Un
ity ActivityManager PackageManager dalvikvm DEBUG
--------- beginning of main
--------- beginning of system
02-23 16:05:42.190 3504 4774 I ActivityManager: isWidgetUsingPkg : com.planet3
16.dailybiblejigsaw no widget is using.
02-23 16:05:42.195 3504 4774 D ActivityManager: mDVFSHelper.acquire()
02-23 16:05:42.200 3504 4663 D ActivityManager: Launching com.planet316.daily
biblejigsaw, updated priority
02-23 16:05:42.235 3504 4615 W ActivityManager: Permission Denial: getCurrentU
ser() from pid=2518, uid=10417 requires android.permission.INTERACT_ACROSS_USERS
02-23 16:05:42.265 2518 2518 W Unity : Failed to get permission info for .IN
TERNET, manifest likely missing custom permission declaration
02-23 16:05:42.265 2518 2518 W Unity : Permission .INTERNET ignored
02-23 16:05:42.265 2518 2518 W Unity : Failed to get permission info for .AC
CESS_NETWORK_STATE, manifest likely missing custom permission declaration
02-23 16:05:42.265 2518 2518 W Unity : Permission .ACCESS_NETWORK_STATE igno
red
02-23 16:05:42.270 2518 2518 W Unity : Failed to get permission info for .GE
T_ACCOUNTS, manifest likely missing custom permission declaration
02-23 16:05:42.270 2518 2518 W Unity : Permission .GET_ACCOUNTS ignored
02-23 16:05:42.270 2518 2518 W Unity : Failed to get permission info for .WA
KE_LOCK, manifest likely missing custom permission declaration
02-23 16:05:42.270 2518 2518 W Unity : Permission .WAKE_LOCK ignored
02-23 16:05:42.270 2518 2518 W Unity : Failed to get permission info for .WR
ITE_EXTERNAL_STORAGE, manifest likely missing custom permission declaration
02-23 16:05:42.270 2518 2518 W Unity : Permission .WRITE_EXTERNAL_STORAGE ig
nored
02-23 16:05:42.270 2518 2518 W Unity : Failed to get permission info for com
.htc.launcher.permission.READ_SETTINGS, manifest likely missing custom permissio
n declaration
02-23 16:05:42.270 2518 2518 W Unity : Permission com.htc.launcher.permissio
n.READ_SETTINGS ignored
02-23 16:05:42.270 2518 2518 W Unity : Failed to get permission info for com
.htc.launcher.permission.UPDATE_SHORTCUT, manifest likely missing custom permiss
ion declaration
02-23 16:05:42.270 2518 2518 W Unity : Permission com.htc.launcher.permissio
n.UPDATE_SHORTCUT ignored
02-23 16:05:42.270 2518 2518 W Unity : Failed to get permission info for com
.sonyericsson.home.permission.BROADCAST_BADGE, manifest likely missing custom pe
rmission declaration
02-23 16:05:42.270 2518 2518 W Unity : Permission com.sonyericsson.home.perm
ission.BROADCAST_BADGE ignored
02-23 16:05:42.275 2518 2518 W Unity : Failed to get permission info for com
.sonymobile.home.permission.PROVIDER_INSERT_BADGE, manifest likely missing custo
m permission declaration
02-23 16:05:42.275 2518 2518 W Unity : Permission com.sonymobile.home.permis
sion.PROVIDER_INSERT_BADGE ignored
02-23 16:05:42.275 2518 2518 W Unity : Failed to get permission info for com
.anddoes.launcher.permission.UPDATE_COUNT, manifest likely missing custom permis
sion declaration
02-23 16:05:42.275 2518 2518 W Unity : Permission com.anddoes.launcher.permi
ssion.UPDATE_COUNT ignored
02-23 16:05:42.275 2518 2518 W Unity : Failed to get permission info for com
.majeur.launcher.permission.UPDATE_BADGE, manifest likely missing custom permiss
ion declaration
02-23 16:05:42.275 2518 2518 W Unity : Permission com.majeur.launcher.permis
sion.UPDATE_BADGE ignored
02-23 16:05:42.275 2518 2518 W Unity : Failed to get permission info for com
.huawei.android.launcher.permission.CHANGE_BADGE, manifest likely missing custom
permission declaration
02-23 16:05:42.275 2518 2518 W Unity : Permission com.huawei.android.launche
r.permission.CHANGE_BADGE ignored
02-23 16:05:42.275 2518 2518 W Unity : Failed to get permission info for com
.huawei.android.launcher.permission.READ_SETTINGS, manifest likely missing custo
m permission declaration
02-23 16:05:42.275 2518 2518 W Unity : Permission com.huawei.android.launche
r.permission.READ_SETTINGS ignored
02-23 16:05:42.275 2518 2518 W Unity : Failed to get permission info for com
.huawei.android.launcher.permission.WRITE_SETTINGS, manifest likely missing cust
om permission declaration
02-23 16:05:42.275 2518 2518 W Unity : Permission com.huawei.android.launche
r.permission.WRITE_SETTINGS ignored
02-23 16:05:42.365 3504 4264 D ActivityManager: post active user change for 0
fullscreen true isFloatingActivity() false isHomeActivity() false
02-23 16:05:42.560 3504 3867 I ActivityManager: Displayed com.planet316.dailyb
iblejigsaw/com.trophit.MyUnityPlayerActivity: +359ms
02-23 16:05:42.595 3504 3867 D ActivityManager: mDVFSHelper.release()
02-23 16:05:42.665 2518 2844 D Unity : GL_EXT_debug_marker GL_ARM_rgba8 GL_
ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_
cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra G
L_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_sta
ndard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_
OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_
vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_textu
re_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element
_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_textur
e_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_debug GL_EXT_o
cclusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_di
scard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_sto
rage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_tex
ture_stencil8 GL_EXT_shade
02-23 16:05:42.665 2518 2844 D Unity : r_pixel_local_storage GL_ARM_shader_f
ramebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_progr
am_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_KH
R_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture
_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EX
T_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp G
L_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map
_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_i
nterpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation
shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitiv
e_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extensio
n_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES
texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_color_buffer_half_floa
t GL_EXT_color_buffer_floa
02-23 16:05:42.665 2518 2844 D Unity : t GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture
02-23 16:05:42.865 2518 2844 W Unity : OnLevelWasLoaded was found on Reporte
r
02-23 16:05:42.865 2518 2844 W Unity : This message has been deprecated and
will be removed in a later version of Unity.
02-23 16:05:42.865 2518 2844 W Unity : Add a delegate to SceneManager.sceneL
oaded instead to get notifications after scene loading has completed
02-23 16:05:42.865 2518 2844 W Unity :
02-23 16:05:42.865 2518 2844 W Unity : (Filename: Line: 375)
02-23 16:05:42.865 2518 2844 W Unity :
02-23 16:05:43.500 2518 2844 I Unity : Version Feb
02-23 16:05:43.500 2518 2844 I Unity :
02-23 16:05:43.500 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:43.500 2518 2844 I Unity :
02-23 16:05:44.905 2518 2844 I Unity : onDeeplink dailybiblejigsaw://?a=bonu
sPuzzles
02-23 16:05:44.905 2518 2844 I Unity :
02-23 16:05:44.905 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:44.905 2518 2844 I Unity :
02-23 16:05:45.090 2518 2844 I Unity : check 82
02-23 16:05:45.090 2518 2844 I Unity :
02-23 16:05:45.090 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:45.090 2518 2844 I Unity :
02-23 16:05:45.180 2518 2844 I Unity : Internet found
02-23 16:05:45.180 2518 2844 I Unity :
02-23 16:05:45.180 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:45.180 2518 2844 I Unity :
02-23 16:05:45.235 2518 2844 I Unity : Using Facebook Unity SDK v7.8.0 with
FBAndroidSDK/4.14.0
02-23 16:05:45.235 2518 2844 I Unity :
02-23 16:05:45.235 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:45.235 2518 2844 I Unity :
02-23 16:05:45.270 2518 2844 I Unity : Notification opened
02-23 16:05:45.270 2518 2844 I Unity :
02-23 16:05:45.270 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:45.270 2518 2844 I Unity :
02-23 16:05:45.285 3504 3530 D ActivityManager: The following uid has register
ed to recieve broadcast for proxy related updates 10417
02-23 16:05:47.585 2518 2844 I Unity : Server TimeThu, 23 Feb 2017 22:05:44
GMT
02-23 16:05:47.585 2518 2844 I Unity :
02-23 16:05:47.585 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:47.585 2518 2844 I Unity :
02-23 16:05:48.055 2518 2844 I Unity : Successful Ping
02-23 16:05:48.055 2518 2844 I Unity :
02-23 16:05:48.055 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:48.055 2518 2844 I Unity :
02-23 16:05:48.650 2518 2844 I Unity : Successful login to Heroic Labs
02-23 16:05:48.650 2518 2844 I Unity :
02-23 16:05:48.650 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:48.650 2518 2844 I Unity :
02-23 16:05:49.955 2518 2844 I Unity : 16:05:44
02-23 16:05:49.955 2518 2844 I Unity :
02-23 16:05:49.955 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:49.955 2518 2844 I Unity :
02-23 16:05:49.985 2518 2844 I Unity : startUp
02-23 16:05:49.985 2518 2844 I Unity :
02-23 16:05:49.985 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:49.985 2518 2844 I Unity :
02-23 16:05:50.010 2518 2844 I Unity : downloading bundle
02-23 16:05:50.010 2518 2844 I Unity :
02-23 16:05:50.010 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:50.010 2518 2844 I Unity :
02-23 16:05:50.125 2518 2844 I Unity : Successful Upload
02-23 16:05:50.125 2518 2844 I Unity :
02-23 16:05:50.125 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:50.125 2518 2844 I Unity :
02-23 16:05:50.165 2518 2844 W Unity : BestFit is only supported for dynamic
fonts. Font ‘BlueWave’ is not dynamic.
02-23 16:05:50.165 2518 2844 W Unity :
02-23 16:05:50.165 2518 2844 W Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:50.165 2518 2844 W Unity :
02-23 16:05:50.445 2518 2844 I Unity : Successful Upload
02-23 16:05:50.445 2518 2844 I Unity :
02-23 16:05:50.445 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:50.445 2518 2844 I Unity :
02-23 16:05:53.005 2518 2844 I Unity : First load value False
02-23 16:05:53.005 2518 2844 I Unity :
02-23 16:05:53.005 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:53.005 2518 2844 I Unity :
02-23 16:05:53.005 2518 2844 I Unity : DailyDialog
02-23 16:05:53.005 2518 2844 I Unity :
02-23 16:05:53.005 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:53.005 2518 2844 I Unity :
02-23 16:05:53.005 2518 2844 I Unity : highscores
02-23 16:05:53.005 2518 2844 I Unity :
02-23 16:05:53.005 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:53.005 2518 2844 I Unity :
02-23 16:05:53.030 2518 2844 I Unity : DisplayDailyDialog
02-23 16:05:53.030 2518 2844 I Unity :
02-23 16:05:53.030 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:53.030 2518 2844 I Unity :
02-23 16:05:54.195 2518 2844 I Unity : button status True
02-23 16:05:54.195 2518 2844 I Unity :
02-23 16:05:54.195 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:54.195 2518 2844 I Unity :
02-23 16:05:54.195 2518 2844 I Unity : count False
02-23 16:05:54.195 2518 2844 I Unity :
02-23 16:05:54.195 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:54.195 2518 2844 I Unity :
02-23 16:05:54.200 2518 2844 I Unity : coinCount
02-23 16:05:54.200 2518 2844 I Unity :
02-23 16:05:54.200 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:54.200 2518 2844 I Unity :
02-23 16:05:54.200 2518 2844 I Unity : Start Shop
02-23 16:05:54.200 2518 2844 I Unity :
02-23 16:05:54.200 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:54.200 2518 2844 I Unity :
02-23 16:05:55.190 2518 2844 I Unity : button status True
02-23 16:05:55.190 2518 2844 I Unity :
02-23 16:05:55.190 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:55.190 2518 2844 I Unity :
02-23 16:05:55.190 2518 2844 I Unity : count False
02-23 16:05:55.190 2518 2844 I Unity :
02-23 16:05:55.190 2518 2844 I Unity : (Filename: ./artifacts/generated/comm
on/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
02-23 16:05:55.190 2518 2844 I Unity :
02-23 16:05:55.710 3504 4761 D ActivityManager: mDVFSHelper.acquire()
02-23 16:05:55.785 3504 4761 W ActivityManager: Permission Denial: getCurrentU
ser() from pid=2518, uid=10417 requires android.permission.INTERACT_ACROSS_USERS
02-23 16:05:55.810 3504 4380 D ActivityManager: post active user change for 0
fullscreen true isFloatingActivity() false isHomeActivity() false
02-23 16:05:55.895 3504 3867 I ActivityManager: Displayed com.planet316.dailyb
iblejigsaw/com.unity3d.ads.adunit.AdUnitActivity: +130ms
02-23 16:05:55.895 3504 3867 D ActivityManager: mDVFSHelper.release()
02-23 16:05:56.025 3504 3530 I ActivityManager: Process com.planet316.dailybib
lejigsaw (pid 2518)(adj 0) has died(200,382)
02-23 16:05:56.025 3504 3530 D ActivityManager: cleanUpApplicationRecord – 25
18
02-23 16:05:56.025 3504 3530 D ActivityManager: isAutoRunBlockedApp:: com.plan
et316.dailybiblejigsaw, Auto Run ON
02-23 16:05:56.025 3504 3530 W ActivityManager: Scheduling restart of crashed
service com.planet316.dailybiblejigsaw/com.onesignal.SyncService in 1000ms
02-23 16:05:56.025 3504 3530 D ActivityManager: removeProcessNameLocked mProce
ssNames.remove pid=2518 ,hash=55345489 ,name=com.planet316.dailybiblejigsaw
02-23 16:05:56.025 3504 3530 W ActivityManager: Force removing ActivityRecord{
21eca23 u0 com.planet316.dailybiblejigsaw/com.unity3d.ads.adunit.AdUnitActivity
t2725}: app died, no saved state
02-23 16:05:56.040 3504 3530 D ActivityManager: mDVFSHelper.acquire()
02-23 16:05:56.125 3504 5157 D ActivityManager: post active user change for 0
fullscreen true isFloatingActivity() false isHomeActivity() true
02-23 16:05:56.540 3504 3717 D ActivityManager: mDVFSHelper.release()
02-23 16:05:56.780 3504 4761 D PackageManager: getComponentMetadataForIconTray
: com.unity3d.ads.adunit.AdUnitActivity does not exist in mServices
02-23 16:05:56.780 3504 4761 D PackageManager: getComponentMetadataForIconTray
: com.unity3d.ads.adunit.AdUnitActivity does not exist in mProviders
02-23 16:05:56.780 3504 4761 D PackageManager: getComponentMetadataForIconTray
: com.unity3d.ads.adunit.AdUnitActivity does not exist in mReceivers
02-23 16:05:57.055 3504 3717 I ActivityManager: Start proc 3131:com.planet316.
dailybiblejigsaw/u0a417 for service com.planet316.dailybiblejigsaw/com.onesignal
.SyncService
02-23 16:05:57.105 3504 4758 I ActivityManager: DSS on for com.planet316.daily
biblejigsaw and scale is 0.75
02-23 16:05:57.150 3504 5516 W ActivityManager: Permission Denial: getCurrentU
ser() from pid=3131, uid=10417 requires android.permission.INTERACT_ACROSS_USERS
^C
C:\Users\owner\AppData\Local\Android\android-sdk\platform-tools>