Search Unity

Bug Line items are not filled! [Unity Mediation v0.5]

Discussion in 'Unity Mediation' started by Inc8877, Jul 13, 2022.

  1. Inc8877

    Inc8877

    Joined:
    Dec 14, 2018
    Posts:
    13
    Hello, I have integrated Unity Mediation into my working game and added AdMob to it.

    Version of the game with Unity Mediation is already available for Android users, but for users of the iOS platform it is not yet available, as I faced a really very serious problem.

    I wrote to support but it did not lead to anything, it seems to me that this is not quite a support case, I think it's better to get the opinion of the Unity Mediation developers.
    I will try to describe everything in detail.

    I am using the code provided in the samples, after the successful authentication, I get a call to the private void AdFailedLoad(object sender, LoadErrorEventArgs e) method for all ad units of all types (I only use two ad units: Interstitial and Rewarded).

    Here is the console output i got on my android device:
    Failed to load ad
    No line item filled!


    I wrote a script that causes ads to load once every three seconds if the AdFailedLoad method was called, but it doesn't help, I just get a AdFailedLoad call every three seconds because ads are not loading. Calling ad load on a failed ad load attempt results in a recursion, the ad never loads until I close the game

    I was repeatedly convinced of the correctness of filling in ad blocks and integration with other networks.

    This behavior is observed from time to time, according to my tests, I get this bug with a different number of launches of the game, it happens once in 10 launches, it happens once in 20 launches, and sometimes it happens three times in a row.
    It turns out that either absolutely everything works correctly and without errors, or a problem immediately arises when you first request to load an ad unit (interstitial and rewarded).

    I connected my device and caught this bug, which is very interesting that in the log you can see a rather strange ad unit ID:

    Android log cat:
    Code (CSharp):
    1.  
    2. 0001/01/01 00:00:00.000 -1 -1 Info  --------- beginning of main
    3. 2022/07/12 12:18:08.769 6357 6357 Error eDriftandRacin Unknown bits set in runtime_flags: 0x800000
    4. 2022/07/12 12:18:08.773 6357 6357 Error eDriftandRacin Not starting debugger since process cannot load the jdwp agent.
    5. 2022/07/12 12:18:08.806 6357 6357 Info eDriftandRacin The ClassLoaderContext is a special shared library.
    6. 2022/07/12 12:18:08.814 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    7. 2022/07/12 12:18:08.814 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    8. 2022/07/12 12:18:08.814 6357 6357 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    9. 2022/07/12 12:18:08.818 6357 6357 Info Perf Connecting to perf service.
    10. 2022/07/12 12:18:08.821 6357 6357 Info eDriftandRacin [GL_OOM] ClampGrowthLimit 536870912
    11. 2022/07/12 12:18:08.821 6357 6357 Debug NetworkSecurityConfig No Network Security Config specified, using platform default
    12. 2022/07/12 12:18:08.821 6357 6357 Debug NetworkSecurityConfig No Network Security Config specified, using platform default
    13. 2022/07/12 12:18:08.829 6357 6357 Debug WM-WrkMgrInitializer Initializing WorkManager with default configuration.
    14. 2022/07/12 12:18:08.832 6357 6357 Info TetheringManager registerTetheringEventCallback:com.VolodymyrBozhko.TougeDriftandRacing
    15. 2022/07/12 12:18:08.835 6357 6357 Info logger Adapter info -> AdNetwork: UNITY, Adapter version: 0.5.0,  AdNetwork sdk version: 4.2.1
    16. 2022/07/12 12:18:08.838 6357 31545 Info eDriftandRacin The ClassLoaderContext is a special shared library.
    17. 2022/07/12 12:18:08.844 6357 31546 Error sqlite3_android [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
    18. 2022/07/12 12:18:08.851 6357 6357 Info logger Mediation SDK version: 0.5.0
    19. 2022/07/12 12:18:08.853 6357 6357 Info logger Adapter info -> AdNetwork: ADMOB, Adapter version: 0.5.0,  AdNetwork sdk version: 20.6.0
    20. 2022/07/12 12:18:08.853 6357 6357 Info logger Adapter info -> AdNetwork: ADCOLONY, Adapter version: 0.5.1,  AdNetwork sdk version:
    21. 2022/07/12 12:18:08.853 6357 31546 Error sqlite3_android [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
    22. 2022/07/12 12:18:08.856 6357 31546 Error sqlite3_android [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
    23. 2022/07/12 12:18:08.861 6357 31545 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    24. 2022/07/12 12:18:08.861 6357 31545 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    25. 2022/07/12 12:18:08.861 6357 31545 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    26. 2022/07/12 12:18:08.863 6357 6357 Error Config:Grabber:OnePlusFontConfig Index 0 requested, with a size of 0
    27. 2022/07/12 12:18:08.867 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    28. 2022/07/12 12:18:08.867 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    29. 2022/07/12 12:18:08.867 6357 6357 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    30. 2022/07/12 12:18:08.869 6357 31545 Warn FA-Ads Disabling data collection. Found google_app_id in strings.xml but Google Analytics for Firebase is missing. Remove this value or add Google Analytics for Firebase to resume data collection.
    31. 2022/07/12 12:18:08.877 6357 31545 Info DynamiteModule Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221908400
    32. 2022/07/12 12:18:08.877 6357 31545 Info DynamiteModule Selected remote version of com.google.android.gms.ads.dynamite, version >= 221908400
    33. 2022/07/12 12:18:08.877 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    34. 2022/07/12 12:18:08.877 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    35. 2022/07/12 12:18:08.877 6357 6357 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    36. 2022/07/12 12:18:08.877 6357 31545 Verbose DynamiteModule Dynamite loader version >= 2, using loadModule2NoCrashUtils
    37. 2022/07/12 12:18:08.880 6357 31545 Warn System ClassLoader referenced unknown path:
    38. 2022/07/12 12:18:08.890 6357 31545 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    39. 2022/07/12 12:18:08.890 6357 31545 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    40. 2022/07/12 12:18:08.890 6357 31545 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    41. 2022/07/12 12:18:08.940 6357 6357 Info IL2CPP JNI_OnLoad
    42. 2022/07/12 12:18:08.955 6357 6357 Verbose ViewRootImpl The specified message queue synchronization  barrier token has not been posted or has already been removed
    43. 2022/07/12 12:18:08.961 6357 6357 Debug OpScreenModeManager setRefreshRate view android.view.SurfaceView{3b9cb68 VFE...... .F....I. 0,0-0,0 #7f06007c app:id/unitySurfaceView} viewRate 0 width 0 height 0
    44. 2022/07/12 12:18:08.962 6357 6357 Debug OpScreenModeManager create mRatio 1.2
    45. 2022/07/12 12:18:08.975 6357 6357 Debug OpScreenModeManager setRefreshRate parent com.unity3d.player.UnityPlayer{c857b81 V.E...... ......ID 0,0-3120,1440} parent width 3120 parent height 1440 mRatio 1.2
    46. 2022/07/12 12:18:08.975 6357 6357 Debug OpScreenModeManager setRefreshRate view android.view.SurfaceView{3b9cb68 VFE...... .F....ID 0,0-3120,1440 #7f06007c app:id/unitySurfaceView} viewRate 1 width 3120 height 1440
    47. 2022/07/12 12:18:08.975 6357 6357 Debug OpScreenModeManager setRefreshRate token android.os.BinderProxy@14cc823 rate 1 mCurrentRate 0 tmpRate:2
    48. 2022/07/12 12:18:08.976 6357 6357 Debug OpScreenModeManager updateScenario fullScreen 1
    49. 2022/07/12 12:18:08.984 6357 6357 Debug OpScreenModeManager setRefreshRate parent com.unity3d.player.UnityPlayer{c857b81 V.E...... ......I. 0,0-3120,1440} parent width 3120 parent height 1440 mRatio 1.2
    50. 2022/07/12 12:18:08.984 6357 6357 Debug OpScreenModeManager setRefreshRate view android.view.SurfaceView{3b9cb68 VFE...... .F....I. 0,0-3120,1440 #7f06007c app:id/unitySurfaceView} viewRate 1 width 3120 height 1440
    51. 2022/07/12 12:18:08.992 6357 6357 Debug DecorView onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@c895867[UnityPlayerActivity]
    52. 2022/07/12 12:18:08.995 6357 6357 Debug ViewRootImpl[UnityPlayerActivity] windowFocusChanged hasFocus=true inTouchMode=true
    53. 2022/07/12 12:18:09.016 6357 31558 Info Unity MemoryManager: Using 'Dynamic Heap' Allocator.
    54. 2022/07/12 12:18:09.072 6357 31558 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceListenerRegistry : registerListener
    55. 2022/07/12 12:18:09.076 6357 31564 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : syncPacks
    56. 2022/07/12 12:18:09.076 6357 31558 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : getPackStates([UnityDataAssetPack])
    57. 2022/07/12 12:18:09.077 6357 31565 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : Initiate binding to the service.
    58. 2022/07/12 12:18:09.077 6357 31558 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : getPackStates([UnityStreamingAssetsPack])
    59. 2022/07/12 12:18:09.088 6357 31565 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : Waiting to bind to the service.
    60. 2022/07/12 12:18:09.088 6357 31565 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : Waiting to bind to the service.
    61. 2022/07/12 12:18:09.088 6357 31558 Info Unity SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 7473mb
    62. 2022/07/12 12:18:09.088 6357 31558 Info Unity SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
    63. 2022/07/12 12:18:09.088 6357 31558 Info Unity ApplicationInfo com.VolodymyrBozhko.TougeDriftandRacing version 2.1.8
    64. 2022/07/12 12:18:09.088 6357 31558 Info Unity Built from '2021.3/staging' branch, Version '2021.3.4f1 (cb45f9cae8b7)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
    65. 2022/07/12 12:18:09.114 6357 6357 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.assetmoduleservice.AssetModuleService})
    66. 2022/07/12 12:18:09.114 6357 31565 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : linkToDeath
    67. 2022/07/12 12:18:09.194 6357 6357 Debug OpScreenModeManager setRefreshRate parent com.unity3d.player.UnityPlayer{c857b81 V.E...... ......I. 0,0-3120,1440} parent width 3120 parent height 1440 mRatio 1.2
    68. 2022/07/12 12:18:09.194 6357 6357 Debug OpScreenModeManager setRefreshRate view android.view.SurfaceView{3b9cb68 VFE...... .F....I. 0,0-3120,1440 #7f06007c app:id/unitySurfaceView aid=1073741824} viewRate 1 width 3120 height 1440
    69. 2022/07/12 12:18:09.283 6357 31538 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : Leaving the connection open for other ongoing calls.
    70. 2022/07/12 12:18:09.283 6357 31538 Info PlayCore UID: [11118]  PID: [6357] AssetPackServiceImpl : onGetSessionStates
    71. 2022/07/12 12:18:09.298 6357 6357 Debug CompatibilityChangeReporter Compat change id reported: 150939131; UID 11118; state: ENABLED
    72. 2022/07/12 12:18:09.495 6357 31558 Debug eDriftandRacin PlayerBase::PlayerBase()
    73. 2022/07/12 12:18:09.495 6357 31558 Debug eDriftandRacin TrackPlayerBase::TrackPlayerBase()
    74. 2022/07/12 12:18:09.495 6357 31558 Info libOpenSLES Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
    75. 2022/07/12 12:18:09.495 6357 31558 Debug AudioTrack set(): streamType 3, sampleRate 48000, format 0x1, channelMask 0x3, frameCount 0, flags #104, notificationFrames -10, sessionId 16817, transferType 0, uid -1, pid -1
    76. 2022/07/12 12:18:09.495 6357 31558 Warn AudioTrack set(): notificationFrames=-10 clamped to the range -1 to -8
    77. 2022/07/12 12:18:09.495 6357 31558 Info AudioTrack ull 2 ll!
    78. 2022/07/12 12:18:09.735 6357 31558 Info IL2CPP Locale en-US
    79. 2022/07/12 12:18:10.784 6357 31534 Warn JavaBinder BinderProxy is being destroyed but the application did not call unlinkToDeath to unlink all of its death recipients beforehand.  Releasing leaked death recipient: com.google.android.play.core.internal.zzai
    80. 2022/07/12 12:18:10.784 6357 31534 Info BpBinder onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
    81. 2022/07/12 12:18:10.834 6357 31558 Info System.out Flags : 814267972
    82. 2022/07/12 12:18:12.698 6357 31757 Info logger Initialization adapter for the following SDK does not exist: ADMOB.
    83. 2022/07/12 12:18:12.710 6357 31757 Debug UnityAds com.unity3d.services.core.misc.Utilities.writeFile() (line:129) :: Wrote file: /data/user/0/com.VolodymyrBozhko.TougeDriftandRacing/files/UnityAdsStorage-public-data.json
    84. 2022/07/12 12:18:13.718 6357 31757 Info logger The Unity Mediation SDK has been initialized.
    85. 2022/07/12 12:18:14.374 6357 31558 Info Unity UnityServices initialized
    86. 2022/07/12 12:18:14.374 6357 31558 Info Unity AppLaunching.<InitializeInternal>d__14:MoveNext()
    87. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    88. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
    89. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
    90. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task:FinishContinuations()
    91. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
    92. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(TResult)
    93. 2022/07/12 12:18:14.374 6357 31558 Info Unity Unity.Services.Authentication.<HandleSignInRequestAsync>d__98:MoveNext()
    94. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    95. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
    96. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
    97. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task:FinishContinuations()
    98. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
    99. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task:FinishContinuations()
    100. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
    101. 2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runti
    102. 2022/07/12 12:18:14.376 6357 31558 Info Unity Init progress: 9%
    103. 2022/07/12 12:18:14.376 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
    104. 2022/07/12 12:18:14.376 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    105. 2022/07/12 12:18:14.376 6357 31558 Info Unity
    106. 2022/07/12 12:18:14.377 6357 31558 Info Unity Init progress: 18%
    107. 2022/07/12 12:18:14.377 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
    108. 2022/07/12 12:18:14.377 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    109. 2022/07/12 12:18:14.377 6357 31558 Info Unity
    110. 2022/07/12 12:18:14.413 6357 31772 Info DpmTcmClient RegisterTcmMonitor from: $Proxy1
    111. 2022/07/12 12:18:14.734 6357 31772 Info UnityAds com.unity3d.services.core.configuration.InitializeThread$InitializeStateLoadCache.execute() (line:393) :: Unity Ads init: webapp loaded from local cache
    112. 2022/07/12 12:18:14.741 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    113. 2022/07/12 12:18:14.741 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    114. 2022/07/12 12:18:14.742 6357 6357 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    115. 2022/07/12 12:18:14.744 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/product/overlay/ProductOverlay-oneplus-framework-res.apk
    116. 2022/07/12 12:18:14.744 6357 6357 Info eDriftandRacin failed to find target package for overlay /system/system_ext/overlay/CommonOverlay-oneplus-framework-res.apk
    117. 2022/07/12 12:18:14.744 6357 6357 Info eDriftandRacin failed to find target package for overlay /odm/overlay/OdmOverlay-oneplus-framework-res.apk
    118. 2022/07/12 12:18:14.833 6357 31535 Warn System A resource failed to call end.
    119. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 QUALCOMM build                   : 559e78c, Ib9d997268a
    120. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Build Date                       : 10/13/20
    121. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 OpenGL ES Shader Compiler Version: EV031.32.02.02
    122. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Local Branch                     : mybrancheb0d76cb-f27a-f1ff-9cdc-1458d0b52ae8
    123. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Remote Branch                    : quic/gfx-adreno.lnx.1.0.r99-rel
    124. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Remote Branch                    : NONE
    125. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Reconstruct Branch               : NOTHING
    126. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Build Config                     : S P 10.0.7 AArch64
    127. 2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
    128. 2022/07/12 12:18:14.852 6357 31794 Warn cr_media Requires BLUETOOTH permission
    129. 2022/07/12 12:18:14.855 6357 31855 Info AdrenoGLES-0 PFP: 0x016ee190, ME: 0x00000000
    130. 2022/07/12 12:18:14.912 6357 31558 Info Unity FETCHING STATUS: Success
    131. 2022/07/12 12:18:14.912 6357 31558 Info Unity RemoteConfigInteraction.RemoteConfigInitializationStage:ApplyRemoteSettings(ConfigResponse)
    132. 2022/07/12 12:18:14.912 6357 31558 Info Unity Unity.Services.RemoteConfig.<FetchConfigsAsync>d__31:MoveNext()
    133. 2022/07/12 12:18:14.912 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    134. 2022/07/12 12:18:14.912 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
    135. 2022/07/12 12:18:14.912 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    136. 2022/07/12 12:18:14.912 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    137. 2022/07/12 12:18:14.912 6357 31558 Info Unity
    138. 2022/07/12 12:18:14.913 6357 31558 Info Unity RequestOrigin: Remote
    139. 2022/07/12 12:18:14.913 6357 31558 Info Unity RemoteConfigInteraction.RemoteConfigInitializationStage:ApplyRemoteSettings(ConfigResponse)
    140. 2022/07/12 12:18:14.913 6357 31558 Info Unity Unity.Services.RemoteConfig.<FetchConfigsAsync>d__31:MoveNext()
    141. 2022/07/12 12:18:14.913 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    142. 2022/07/12 12:18:14.913 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
    143. 2022/07/12 12:18:14.913 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    144. 2022/07/12 12:18:14.913 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    145. 2022/07/12 12:18:14.913 6357 31558 Info Unity
    146. 2022/07/12 12:18:14.920 6357 31558 Info Unity Fetched
    147. 2022/07/12 12:18:14.920 6357 31558 Info Unity RemoteConfigInteraction.RemoteConfigInitializationStage:ApplyRemoteSettings(ConfigResponse)
    148. 2022/07/12 12:18:14.920 6357 31558 Info Unity Unity.Services.RemoteConfig.<FetchConfigsAsync>d__31:MoveNext()
    149. 2022/07/12 12:18:14.920 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
    150. 2022/07/12 12:18:14.920 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
    151. 2022/07/12 12:18:14.920 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    152. 2022/07/12 12:18:14.920 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    153. 2022/07/12 12:18:14.920 6357 31558 Info Unity
    154. 2022/07/12 12:18:14.923 6357 31558 Info Unity Init progress: 26%
    155. 2022/07/12 12:18:14.923 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
    156. 2022/07/12 12:18:14.923 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    157. 2022/07/12 12:18:14.923 6357 31558 Info Unity
    158. 2022/07/12 12:18:14.925 6357 31558 Info Unity Init progress: 36%
    159. 2022/07/12 12:18:14.925 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
    160. 2022/07/12 12:18:14.925 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    161. 2022/07/12 12:18:14.925 6357 31558 Info Unity
    162. 2022/07/12 12:18:14.930 6357 31558 Info Unity Init progress: 45%
    163. 2022/07/12 12:18:14.930 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
    164. 2022/07/12 12:18:14.930 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    165. 2022/07/12 12:18:14.930 6357 31558 Info Unity
    166. 2022/07/12 12:18:16.202 6357 6357 Info System.out Flags : 0
    167. 2022/07/12 12:18:16.202 6357 6357 Info System.out Flags : 0
    168. 2022/07/12 12:18:16.337 6357 31879 Warn UnityAds com.unity3d.services.core.api.Sdk.logWarning() (line:79) :: {"message":"model: DeviceInfo key: openAdvertisingTrackingId with value: null: null is not in: string,undefined","name":"CheckValueError"}
    169. 2022/07/12 12:18:16.459 6357 31558 Info Unity Auth status: Authenticated
    170. 2022/07/12 12:18:16.459 6357 31558 Info Unity CloudServices.UserAuthenticationInitializationStage:GameServicesOnOnAuthStatusChange(GameServicesAuthStatusChangeResult, Error)
    171. 2022/07/12 12:18:16.459 6357 31558 Info Unity VoxelBusters.CoreLibrary.CallbackDispatcher:LateUpdate()
    172. 2022/07/12 12:18:16.459 6357 31558 Info Unity
    173. 2022/07/12 12:18:16.461 6357 31558 Info System.out Flags : 0
    174. 2022/07/12 12:18:16.461 6357 31558 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) UnityMain identical 1 line
    175. 2022/07/12 12:18:16.462 6357 31558 Info System.out Flags : 0
    176. 2022/07/12 12:18:16.522 6357 31725 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
    177. 2022/07/12 12:18:16.524 6357 31725 Warn UnityAds com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged() (line:173) :: Unity Ads was not able to get current network type due to missing permission
    178. 2022/07/12 12:18:16.527 6357 31879 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Requesting configuration from https://configv2.unityads.unity3d.com/games/3480961/configuration?deviceMake=OnePlus&screenDensity=600&screenSize=268435810&idfi=cca45b44153039f2d989942e0b43ea3f&advertisingTrackingId=241d0b92-09e2-41d6-b10f-5ff061d0af7e&limitAdTracking=false&installationId=cca45b44153039f2d989942e0b43ea3f&connectionType=wifi&screenHeight=1440&screenWidth=2910&bundleId=com.VolodymyrBozhko.TougeDriftandRacing&encrypted=true&rooted=false&platform=android&sdkVersion=4210&osVersion=11&deviceModel=GM1910&language=en_US&test=false&analyticsUserId=cca45b44153039f2d989942e0b43ea3f&analyticsSessionId=7305105128260021020&first=false&userLevelFlagDetected=false&dpm=none&stateId=cca45b44153039f2d989942e0b43ea3f&callType=state
    179. 2022/07/12 12:18:16.724 6357 31879 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Received configuration for token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ VERY LARGE TOKER....... (A/B group 5)
    180. 2022/07/12 12:18:16.779 6357 31879 Info DynamiteModule Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:221908400
    181. 2022/07/12 12:18:16.780 6357 31879 Info DynamiteModule Selected remote version of com.google.android.gms.ads.dynamite, version >= 221908400
    182. 2022/07/12 12:18:16.781 6357 31879 Debug DynamitePackage Instantiated singleton DynamitePackage.
    183. 2022/07/12 12:18:16.781 6357 31879 Debug DynamitePackage Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
    184. 2022/07/12 12:18:16.798 6357 31879 Info Ads Updating ad debug logging enablement.
    185. 2022/07/12 12:18:16.802 6357 31557 Warn Ads Update ad debug logging enablement as false
    186. 2022/07/12 12:18:16.809 6357 31927 Warn ConnectionStatusConfig Dynamic lookup for intent failed for action: com.google.android.gms.leibniz.events.service.START
    187. 2022/07/12 12:18:16.810 6357 31927 Warn GmsClient unable to connect to service: com.google.android.gms.leibniz.events.service.START on com.google.android.gms
    188. 2022/07/12 12:18:16.866 6357 31879 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
    189. 2022/07/12 12:18:16.878 6357 31879 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
    190. 2022/07/12 12:18:16.897 6357 31879 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: [RemoteState] Unified response available.
    191. 2022/07/12 12:18:16.963 6357 31879 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Setting new header bidding token /xiYLweutviGaLh0rhNk6PydiUijKNA+nUKdWbe3F6U SUPER LONG TOKEN.........
    192. 2022/07/12 12:18:16.964 6357 6357 Info logger UNITY adapter initialized. Adapter Version: 0.5.0. SDK Version: 4.2.1.
    193. 2022/07/12 12:18:17.000 6357 31879 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
    194. 2022/07/12 12:18:17.013 6357 31879 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) JavaBridge identical 2 lines
    195. 2022/07/12 12:18:17.017 6357 31879 Warn UnityAds com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission
    196. 2022/07/12 12:18:17.028 6357 31879 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Webview started using the latest version
    197. 2022/07/12 12:18:17.511 6357 6357 Info System.out Flags : 0
    198. 2022/07/12 12:18:17.515 6357 6357 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) identical 3 lines
    199. 2022/07/12 12:18:17.515 6357 6357 Info System.out Flags : 0
    200. 2022/07/12 12:18:17.534 6357 31535 Warn System A resource failed to call close.
    201. 2022/07/12 12:18:17.535 6357 31535 Warn System A resource failed to call end.
    202. 2022/07/12 12:18:17.535 6357 31535 Warn System A resource failed to call end.
    203. 2022/07/12 12:18:17.538 6357 6357 Info System.out Flags : 0
    204. 2022/07/12 12:18:17.538 6357 6357 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) identical 2 lines
    205. 2022/07/12 12:18:17.538 6357 6357 Info System.out Flags : 0
    206. 2022/07/12 12:18:17.754 6357 6357 Info System.out Flags : 0
    207. 2022/07/12 12:18:17.763 6357 6357 Info System.out Flags : 0
    208. 2022/07/12 12:18:17.772 6357 31558 Info Unity Init progress: 53%
    209. 2022/07/12 12:18:17.772 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
    210. 2022/07/12 12:18:17.772 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    211. 2022/07/12 12:18:17.772 6357 31558 Info Unity
    212. 2022/07/12 12:18:17.773 6357 31558 Info System.out Flags : 0
    213. 2022/07/12 12:18:17.782 6357 6357 Info logger NO_FILL: UnityAds load error with code (NO_FILL) and message (Placement receives no fill) for placementId (Android_Rewarded_f4521a34_7eb9_4666_8095_36a57ce9d9ce)
    214. 2022/07/12 12:18:17.782 6357 31877 Info logger Line item: UNITY with values {gameId=3480961, placementId=Android_Rewarded_f4521a34_7eb9_4666_8095_36a57ce9d9ce} failed to load.
    215. 2022/07/12 12:18:17.897 6357 6357 Info logger NO_FILL: UnityAds load error with code (NO_FILL) and message (Placement receives no fill) for placementId (Android_Interstitial_a6c23608_f50f_4d37_acb0_0a60f2050307)
    216. 2022/07/12 12:18:17.898 6357 31878 Info logger Line item: UNITY with values {gameId=3480961, placementId=Android_Interstitial_a6c23608_f50f_4d37_acb0_0a60f2050307} failed to load.
    217. 2022/07/12 12:18:22.449 6357 31558 Info Unity Failed to load ad
    218. 2022/07/12 12:18:22.449 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationRewardedAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
    219. 2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    220. 2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    221. 2022/07/12 12:18:22.449 6357 31558 Info Unity
    222. 2022/07/12 12:18:22.449 6357 31558 Info Unity No line item filled!
    223. 2022/07/12 12:18:22.449 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationRewardedAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
    224. 2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    225. 2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    226. 2022/07/12 12:18:22.449 6357 31558 Info Unity
    227. 2022/07/12 12:18:22.449 6357 31558 Info Unity Delay ad reloading attempt
    228. 2022/07/12 12:18:22.449 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationRewardedAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
    229. 2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    230. 2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    231. 2022/07/12 12:18:22.449 6357 31558 Info Unity
    232. 2022/07/12 12:18:22.451 6357 31558 Info Unity Failed to load ad
    233. 2022/07/12 12:18:22.451 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationInterstitialAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
    234. 2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    235. 2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    236. 2022/07/12 12:18:22.451 6357 31558 Info Unity
    237. 2022/07/12 12:18:22.451 6357 31558 Info Unity No line item filled!
    238. 2022/07/12 12:18:22.451 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationInterstitialAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
    239. 2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
    240. 2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
    241.  

    Here are the lines from the log containing the id of the unit that cannot be processed:
    Code (CSharp):
    1. 2022/07/12 12:18:17.782 6357 6357 Info logger NO_FILL: UnityAds load error with code (NO_FILL) and message (Placement receives no fill) for placementId (Android_Rewarded_f4521a34_7eb9_4666_8095_36a57ce9d9ce)
    2. 2022/07/12 12:18:17.782 6357 31877 Info logger Line item: UNITY with values {gameId=3480961, placementId=Android_Rewarded_f4521a34_7eb9_4666_8095_36a57ce9d9ce} failed to load.
    3. 2022/07/12 12:18:17.897 6357 6357 Info logger NO_FILL: UnityAds load error with code (NO_FILL) and message (Placement receives no fill) for placementId (Android_Interstitial_a6c23608_f50f_4d37_acb0_0a60f2050307)
    4. 2022/07/12 12:18:17.898 6357 31878 Info logger Line item: UNITY with values {gameId=3480961, placementId=Android_Interstitial_a6c23608_f50f_4d37_acb0_0a60f2050307} failed to load.
    When initializing the ad units, I get their identifiers in these fields, therefore I have no idea where such strange identifiers can come from like this Android_Rewarded_f4521a34_7eb9_4666_8095_36a57ce9d9ce
    Code (CSharp):
    1. public const string IOSInterstitialAdID = "iOS_Interstitial";
    2. public const string IOSRewardedAdID = "iOS_Rewarded";
    3.  
    4. public const string AndroidInterstitialAdID = "Android_Interstitial";
    5. public const string AndroidRewardedAdID = "Android_Rewarded";
    As you can see, the identifier has some strange suffix _xxxx_xxxxx_xxxxxxxx_xxxx_xxxxxxxx, I tried to examine all the available Unity Mediation code, but the last method that accepts an unit ID for initialization, refers to a method in the native mediation library, which I can't find, so I can't find out, how does this concatenation happen.

    I looked at the log on successful Ad initialization and there are no fields that contain the ID of a successfully initialized ad unit, I get a field with the specified strange ID only in case of unsuccessful initialization.

    I mean that only if the initialization is not successful, I see information in the logs with the identifier of the ad unit, in case of successful initialization, just call OnAdLoaded and that's it.

    It seems that this problem is caused on the side of the Unity Mediation servers, apparently this strange ID is assigned by the Unity Mediation servers when initializing the ad unit.

    Well, i can sum it up and say that this bug is very terrible, i lose income because of it.
    Or mediation is initialized at the start of the game and everything works correctly until the very end of the game session, either when loading ad units an error occurs due to loading an unknown unit that came from nowhere and the entire game session has no ads.

    Additional info (Unity version, device info, backend etc):

    Unity Mediation v0.5

    System
    ----------------------
    Operating System - Android OS 11 / API-30 (RKQ1.201022.002/2103161151)
    Device Type - Handheld
    Device Model - OnePlus GM1910
    CPU Type - ARM64 FP ASIMD AES
    CPU Count - 8
    System Memory - 7.298 GB

    Battery
    ----------------------
    Status - Discharging
    Battery Level - 0.81

    Unity
    ----------------------
    Version - 2021.3.4f1
    Debug - False
    Unity Pro - True
    Genuine - Yes (Trusted)
    System Language - English
    Platform - Android
    Install Mode - Store
    Sandbox - Sandboxed
    IL2CPP - Yes
    Application Version - 2.1.8
    SRDebugger Version - 1.11.0
    Target API Level - 32

    Display
    ----------------------
    Resolution - 1664x768
    DPI - 600
    Fullscreen - True
    Fullscreen Mode - FullScreenWindow
    Orientation - Landscape

    Runtime
    ----------------------
    Play Time - 35.76759
    Level Play Time - 21.5539417
    Current Level - Garage (Index: 2)
    Quality Level - UltraPlus (6)

    Features
    ----------------------
    Location - True
    Accelerometer - True
    Gyroscope - True
    Vibration - True
    Audio - True

    Graphics - Device
    ----------------------
    Device Name - Adreno (TM) 640
    Device Vendor - Qualcomm
    Device Version - Vulkan 1.1.0 [512.502.0]
    Graphics Memory - 7.548 GB
    Max Tex Size - 16384
    [/spolier]
     
    Last edited: Jul 13, 2022
    neveract likes this.
  2. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    Hello @Inc8877,

    Before I delve into the logs you've provided, I want to break down a few concepts with a description for clarity:
    • Ad Units in Unity Mediation are used as an identifier for a surfacing point as well as to distinguish different waterfalls used within a game.
    • Waterfalls contain a list of line items, each line item is connected to a placement id and ad network.
    • Placement ids are identifiers used for surfacing points (and for different line items in mediation) and are specific to an ad network.
    Your ad units are: Interstitial and Rewarded.
    The identifiers you are seeing (eg. Android_Rewarded_f4521a34_7eb9_4666_8095_36a57ce9d9ce) are placement ids, specific to the Unity Ads ad network, so this is normal, since it is the placement ids that are not filling.

    In this case, ad networks can decide that it is not worth bidding on line items at a certain eCPM, no fills are very common. This is why we recommend using many ad networks to maximize the chance of a fill.

    Let me know if you have any other questions, thanks!
     
  3. 71kris

    71kris

    Joined:
    Aug 13, 2013
    Posts:
    17
    Hello Declan
    I'm myself trying to understand "No line items" in failed to load ad function. I created a separate ticket https://forum.unity.com/threads/tes...ne-item-filled-potential-revenue-too.1323444/

    In my case "no line items" appears on a test device (android mobile) when my project is changed from "targeted at children under the age of 13" to "not targeted at children". Oddly when I run in the Editor adds load ok in both scenarios in the Editor and on the device.
    Reading your explanation about not filled ads kind of makes sense but I do think that it probably could be an underlying issue in Unity Mediation? I'm saying this because if there was no 'test ads' there would no ads neither on a device and in the Editor?
     
  4. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    Hey @71kris,

    When Unity Mediation is ran in the Editor, no real ad networks or ads are shown (this might be TMI, but the underlying implementations from most ad networks are OS specific: iOS, Android, etc. So this makes sense).

    When ran on a real device though (in the case of Unity Mediation: iOS and Android), the actual ad networks are used. If they do not have an ad worth showing, they will not fill the load request.

    I hope that clarifies things, thanks for reaching out!
     
  5. maxkcy

    maxkcy

    Joined:
    Oct 11, 2021
    Posts:
    62
    Hi Declan,
    I registered my device as a testing device and when I just implemented Unity Ads, the test ads were loading fine on my android, with a few no fills occasionally. But when I configured admob, I started getting "no line fill" for all of the ad calls. I did not give the admob test ad's id, instead I used the ad ID for the ad unit I created on admob. But I think this should be okay since the device is registered in mediation as a test device. Also why am I not getting any filled line item test ads after setting up admob?
     
  6. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    Hello @maxkcy,

    Regarding Unity Ads, do you have test ads set under your Unity Ads settings in your project in the dashboard?

    Regarding test ads, test devices and the Ad Source Testing feature in Unity Mediation, you'll notice there's a note in the documentation: "Note: Ensure that you also set to test mode on the ad network side.". The Mediation product cannot enforce test ads for other ad networks, If admob is not set up to show test ads, then you shouldn't expect test ads.

    Let us know if you have any other questions, thanks!
     
  7. maxkcy

    maxkcy

    Joined:
    Oct 11, 2021
    Posts:
    62
    First off, the very next day, without making any changes what so ever, unity test ads did fill up, so I know it is not a configuration issue, but that sometimes ads were not loading up.

    2nd,
    I can not find Test Ads Units for Unity Ads like google admob test ads. The only testing option I found is under Project Overview -> Testing. I can just pass in the admob test ids during the testing phase (yet to try this) but I can not find similar test ad ids for unity ads besides adding a testing device that will only display test ads.

    Also under Setup -> Test Devices it says:
    This is why I did not pass admob's test ad unit ids instead of the actual ad unit id I created.

    Ok, I suppose this means getting the test ads' ids, and passing those in as I stated above?
     
  8. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    Hey @maxkcy,
    1. There are some known open issues with Unity Ads that are being addressed, so your observation is probably correct as far as I can tell.
    2. Correct, there are no such 'Test Ad Units' similar to what Admob provides. Instead, Unity Ads provides two options, Test mode (under Settings > Test Mode, as mentioned before though, some issues persist but are being addressed), and Test Devices (under Testing > Test Devices).
    3. Currently the only two options are those stated under 2.
    I hope that helps, thanks for reaching out!
     
  9. maxkcy

    maxkcy

    Joined:
    Oct 11, 2021
    Posts:
    62
    I was able to test Admob with their test ads by registering my device as a testing device on the Admob console. The same way I registered my device as testing device for mediation