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:
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:
[spoiler]
~~~csharp
0001/01/01 00:00:00.000 -1 -1 Info --------- beginning of main
2022/07/12 12:18:08.769 6357 6357 Error eDriftandRacin Unknown bits set in runtime_flags: 0x800000
2022/07/12 12:18:08.773 6357 6357 Error eDriftandRacin Not starting debugger since process cannot load the jdwp agent.
2022/07/12 12:18:08.806 6357 6357 Info eDriftandRacin The ClassLoaderContext is a special shared library.
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
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
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
2022/07/12 12:18:08.818 6357 6357 Info Perf Connecting to perf service.
2022/07/12 12:18:08.821 6357 6357 Info eDriftandRacin [GL_OOM] ClampGrowthLimit 536870912
2022/07/12 12:18:08.821 6357 6357 Debug NetworkSecurityConfig No Network Security Config specified, using platform default
2022/07/12 12:18:08.821 6357 6357 Debug NetworkSecurityConfig No Network Security Config specified, using platform default
2022/07/12 12:18:08.829 6357 6357 Debug WM-WrkMgrInitializer Initializing WorkManager with default configuration.
2022/07/12 12:18:08.832 6357 6357 Info TetheringManager registerTetheringEventCallback:com.VolodymyrBozhko.TougeDriftandRacing
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
2022/07/12 12:18:08.838 6357 31545 Info eDriftandRacin The ClassLoaderContext is a special shared library.
2022/07/12 12:18:08.844 6357 31546 Error sqlite3_android [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2022/07/12 12:18:08.851 6357 6357 Info logger Mediation SDK version: 0.5.0
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
2022/07/12 12:18:08.853 6357 6357 Info logger Adapter info -> AdNetwork: ADCOLONY, Adapter version: 0.5.1, AdNetwork sdk version:
2022/07/12 12:18:08.853 6357 31546 Error sqlite3_android [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
2022/07/12 12:18:08.856 6357 31546 Error sqlite3_android [IKR-38846] ONEPLUS_NAME_PARTS_MATCH SQLITE_OK
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
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
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
2022/07/12 12:18:08.863 6357 6357 Error Config:Grabber:OnePlusFontConfig Index 0 requested, with a size of 0
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
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
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
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.
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
2022/07/12 12:18:08.877 6357 31545 Info DynamiteModule Selected remote version of com.google.android.gms.ads.dynamite, version >= 221908400
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
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
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
2022/07/12 12:18:08.877 6357 31545 Verbose DynamiteModule Dynamite loader version >= 2, using loadModule2NoCrashUtils
2022/07/12 12:18:08.880 6357 31545 Warn System ClassLoader referenced unknown path:
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
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
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
2022/07/12 12:18:08.940 6357 6357 Info IL2CPP JNI_OnLoad
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
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
2022/07/12 12:18:08.962 6357 6357 Debug OpScreenModeManager create mRatio 1.2
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
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
2022/07/12 12:18:08.975 6357 6357 Debug OpScreenModeManager setRefreshRate token android.os.BinderProxy@14cc823 rate 1 mCurrentRate 0 tmpRate:2
2022/07/12 12:18:08.976 6357 6357 Debug OpScreenModeManager updateScenario fullScreen 1
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
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
2022/07/12 12:18:08.992 6357 6357 Debug DecorView onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@c895867[UnityPlayerActivity]
2022/07/12 12:18:08.995 6357 6357 Debug ViewRootImpl[UnityPlayerActivity] windowFocusChanged hasFocus=true inTouchMode=true
2022/07/12 12:18:09.016 6357 31558 Info Unity MemoryManager: Using 'Dynamic Heap' Allocator.
2022/07/12 12:18:09.072 6357 31558 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceListenerRegistry : registerListener
2022/07/12 12:18:09.076 6357 31564 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : syncPacks
2022/07/12 12:18:09.076 6357 31558 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : getPackStates([UnityDataAssetPack])
2022/07/12 12:18:09.077 6357 31565 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : Initiate binding to the service.
2022/07/12 12:18:09.077 6357 31558 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : getPackStates([UnityStreamingAssetsPack])
2022/07/12 12:18:09.088 6357 31565 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : Waiting to bind to the service.
2022/07/12 12:18:09.088 6357 31565 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : Waiting to bind to the service.
2022/07/12 12:18:09.088 6357 31558 Info Unity SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 7473mb
2022/07/12 12:18:09.088 6357 31558 Info Unity SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
2022/07/12 12:18:09.088 6357 31558 Info Unity ApplicationInfo com.VolodymyrBozhko.TougeDriftandRacing version 2.1.8
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'
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})
2022/07/12 12:18:09.114 6357 31565 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : linkToDeath
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
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
2022/07/12 12:18:09.283 6357 31538 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : Leaving the connection open for other ongoing calls.
2022/07/12 12:18:09.283 6357 31538 Info PlayCore UID: [11118] PID: [6357] AssetPackServiceImpl : onGetSessionStates
2022/07/12 12:18:09.298 6357 6357 Debug CompatibilityChangeReporter Compat change id reported: 150939131; UID 11118; state: ENABLED
2022/07/12 12:18:09.495 6357 31558 Debug eDriftandRacin PlayerBase::PlayerBase()
2022/07/12 12:18:09.495 6357 31558 Debug eDriftandRacin TrackPlayerBase::TrackPlayerBase()
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)
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
2022/07/12 12:18:09.495 6357 31558 Warn AudioTrack set(): notificationFrames=-10 clamped to the range -1 to -8
2022/07/12 12:18:09.495 6357 31558 Info AudioTrack ull 2 ll!
2022/07/12 12:18:09.735 6357 31558 Info IL2CPP Locale en-US
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
2022/07/12 12:18:10.784 6357 31534 Info BpBinder onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
2022/07/12 12:18:10.834 6357 31558 Info System.out Flags : 814267972
2022/07/12 12:18:12.698 6357 31757 Info logger Initialization adapter for the following SDK does not exist: ADMOB.
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
2022/07/12 12:18:13.718 6357 31757 Info logger The Unity Mediation SDK has been initialized.
2022/07/12 12:18:14.374 6357 31558 Info Unity UnityServices initialized
2022/07/12 12:18:14.374 6357 31558 Info Unity AppLaunching.<InitializeInternal>d__14:MoveNext()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task:FinishContinuations()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(TResult)
2022/07/12 12:18:14.374 6357 31558 Info Unity Unity.Services.Authentication.<HandleSignInRequestAsync>d__98:MoveNext()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.AwaitTaskContinuation:RunCallback(ContextCallback, Object, Task&)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task:FinishContinuations()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task:FinishContinuations()
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Threading.Tasks.Task`1:TrySetResult(TResult)
2022/07/12 12:18:14.374 6357 31558 Info Unity System.Runti
2022/07/12 12:18:14.376 6357 31558 Info Unity Init progress: 9%
2022/07/12 12:18:14.376 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
2022/07/12 12:18:14.376 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022/07/12 12:18:14.376 6357 31558 Info Unity
2022/07/12 12:18:14.377 6357 31558 Info Unity Init progress: 18%
2022/07/12 12:18:14.377 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
2022/07/12 12:18:14.377 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022/07/12 12:18:14.377 6357 31558 Info Unity
2022/07/12 12:18:14.413 6357 31772 Info DpmTcmClient RegisterTcmMonitor from: $Proxy1
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
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
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
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
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
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
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
2022/07/12 12:18:14.833 6357 31535 Warn System A resource failed to call end.
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 QUALCOMM build : 559e78c, Ib9d997268a
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Build Date : 10/13/20
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 OpenGL ES Shader Compiler Version: EV031.32.02.02
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Local Branch : mybrancheb0d76cb-f27a-f1ff-9cdc-1458d0b52ae8
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Remote Branch : quic/gfx-adreno.lnx.1.0.r99-rel
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Remote Branch : NONE
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Reconstruct Branch : NOTHING
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Build Config : S P 10.0.7 AArch64
2022/07/12 12:18:14.849 6357 31855 Info AdrenoGLES-0 Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
2022/07/12 12:18:14.852 6357 31794 Warn cr_media Requires BLUETOOTH permission
2022/07/12 12:18:14.855 6357 31855 Info AdrenoGLES-0 PFP: 0x016ee190, ME: 0x00000000
2022/07/12 12:18:14.912 6357 31558 Info Unity FETCHING STATUS: Success
2022/07/12 12:18:14.912 6357 31558 Info Unity RemoteConfigInteraction.RemoteConfigInitializationStage:ApplyRemoteSettings(ConfigResponse)
2022/07/12 12:18:14.912 6357 31558 Info Unity Unity.Services.RemoteConfig.<FetchConfigsAsync>d__31:MoveNext()
2022/07/12 12:18:14.912 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022/07/12 12:18:14.912 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022/07/12 12:18:14.912 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:14.912 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:14.912 6357 31558 Info Unity
2022/07/12 12:18:14.913 6357 31558 Info Unity RequestOrigin: Remote
2022/07/12 12:18:14.913 6357 31558 Info Unity RemoteConfigInteraction.RemoteConfigInitializationStage:ApplyRemoteSettings(ConfigResponse)
2022/07/12 12:18:14.913 6357 31558 Info Unity Unity.Services.RemoteConfig.<FetchConfigsAsync>d__31:MoveNext()
2022/07/12 12:18:14.913 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022/07/12 12:18:14.913 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022/07/12 12:18:14.913 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:14.913 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:14.913 6357 31558 Info Unity
2022/07/12 12:18:14.920 6357 31558 Info Unity Fetched
2022/07/12 12:18:14.920 6357 31558 Info Unity RemoteConfigInteraction.RemoteConfigInitializationStage:ApplyRemoteSettings(ConfigResponse)
2022/07/12 12:18:14.920 6357 31558 Info Unity Unity.Services.RemoteConfig.<FetchConfigsAsync>d__31:MoveNext()
2022/07/12 12:18:14.920 6357 31558 Info Unity System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
2022/07/12 12:18:14.920 6357 31558 Info Unity System.Runtime.CompilerServices.MoveNextRunner:Run()
2022/07/12 12:18:14.920 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:14.920 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:14.920 6357 31558 Info Unity
2022/07/12 12:18:14.923 6357 31558 Info Unity Init progress: 26%
2022/07/12 12:18:14.923 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
2022/07/12 12:18:14.923 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022/07/12 12:18:14.923 6357 31558 Info Unity
2022/07/12 12:18:14.925 6357 31558 Info Unity Init progress: 36%
2022/07/12 12:18:14.925 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
2022/07/12 12:18:14.925 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022/07/12 12:18:14.925 6357 31558 Info Unity
2022/07/12 12:18:14.930 6357 31558 Info Unity Init progress: 45%
2022/07/12 12:18:14.930 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
2022/07/12 12:18:14.930 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022/07/12 12:18:14.930 6357 31558 Info Unity
2022/07/12 12:18:16.202 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:16.202 6357 6357 Info System.out Flags : 0
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"}
2022/07/12 12:18:16.459 6357 31558 Info Unity Auth status: Authenticated
2022/07/12 12:18:16.459 6357 31558 Info Unity CloudServices.UserAuthenticationInitializationStage:GameServicesOnOnAuthStatusChange(GameServicesAuthStatusChangeResult, Error)
2022/07/12 12:18:16.459 6357 31558 Info Unity VoxelBusters.CoreLibrary.CallbackDispatcher:LateUpdate()
2022/07/12 12:18:16.459 6357 31558 Info Unity
2022/07/12 12:18:16.461 6357 31558 Info System.out Flags : 0
2022/07/12 12:18:16.461 6357 31558 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) UnityMain identical 1 line
2022/07/12 12:18:16.462 6357 31558 Info System.out Flags : 0
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
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
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
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)
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
2022/07/12 12:18:16.780 6357 31879 Info DynamiteModule Selected remote version of com.google.android.gms.ads.dynamite, version >= 221908400
2022/07/12 12:18:16.781 6357 31879 Debug DynamitePackage Instantiated singleton DynamitePackage.
2022/07/12 12:18:16.781 6357 31879 Debug DynamitePackage Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
2022/07/12 12:18:16.798 6357 31879 Info Ads Updating ad debug logging enablement.
2022/07/12 12:18:16.802 6357 31557 Warn Ads Update ad debug logging enablement as false
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
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
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
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
2022/07/12 12:18:16.897 6357 31879 Info UnityAds com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: [RemoteState] Unified response available.
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.........
2022/07/12 12:18:16.964 6357 6357 Info logger UNITY adapter initialized. Adapter Version: 0.5.0. SDK Version: 4.2.1.
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
2022/07/12 12:18:17.013 6357 31879 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) JavaBridge identical 2 lines
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
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
2022/07/12 12:18:17.511 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:17.515 6357 6357 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) identical 3 lines
2022/07/12 12:18:17.515 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:17.534 6357 31535 Warn System A resource failed to call close.
2022/07/12 12:18:17.535 6357 31535 Warn System A resource failed to call end.
2022/07/12 12:18:17.535 6357 31535 Warn System A resource failed to call end.
2022/07/12 12:18:17.538 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:17.538 6357 6357 Info chatty uid=11118(com.VolodymyrBozhko.TougeDriftandRacing) identical 2 lines
2022/07/12 12:18:17.538 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:17.754 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:17.763 6357 6357 Info System.out Flags : 0
2022/07/12 12:18:17.772 6357 31558 Info Unity Init progress: 53%
2022/07/12 12:18:17.772 6357 31558 Info Unity AppLaunching.<StagesInitialization>d__9:MoveNext()
2022/07/12 12:18:17.772 6357 31558 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2022/07/12 12:18:17.772 6357 31558 Info Unity
2022/07/12 12:18:17.773 6357 31558 Info System.out Flags : 0
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)
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.
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)
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.
2022/07/12 12:18:22.449 6357 31558 Info Unity Failed to load ad
2022/07/12 12:18:22.449 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationRewardedAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:22.449 6357 31558 Info Unity
2022/07/12 12:18:22.449 6357 31558 Info Unity No line item filled!
2022/07/12 12:18:22.449 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationRewardedAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:22.449 6357 31558 Info Unity
2022/07/12 12:18:22.449 6357 31558 Info Unity Delay ad reloading attempt
2022/07/12 12:18:22.449 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationRewardedAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:22.449 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:22.449 6357 31558 Info Unity
2022/07/12 12:18:22.451 6357 31558 Info Unity Failed to load ad
2022/07/12 12:18:22.451 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationInterstitialAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
2022/07/12 12:18:22.451 6357 31558 Info Unity
2022/07/12 12:18:22.451 6357 31558 Info Unity No line item filled!
2022/07/12 12:18:22.451 6357 31558 Info Unity AdvertisingServices.Runtime.UnityMediation.UnityMediationInterstitialAdImpl:AdFailedLoad(Object, LoadErrorEventArgs)
2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.WorkRequest:Invoke()
2022/07/12 12:18:22.451 6357 31558 Info Unity UnityEngine.UnitySynchronizationContext:Exec()
~~~
[/spoiler]
Here are the lines from the log containing the id of the unit that cannot be processed:
```csharp
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)
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.
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)
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
public const string IOSInterstitialAdID = "iOS_Interstitial";
public const string IOSRewardedAdID = "iOS_Rewarded";
public const string AndroidInterstitialAdID = "Android_Interstitial";
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]