Search Issue Tracker

By Design

Votes

0

Found in [Package]

3.5.2

Issue ID

1290283

Regression

No

Runtime error on services.banners.IUnityBannerListener when loading advertisement banners

Package: Ads

-

How to reproduce:
1. Open project "Jam2017.zip"
2. Open scene "loadingscene"
3. Build and Run

Expected result: Ad banner showing
Actual result: No banner showing, java.lang.ClassNotFoundException: com.unity3d.services.banners.IUnityBannerListener in the stacktrace

Reproducible with: 3.5.2 (2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a8)
Can't test with: 3.5.2 (2018.4.30f1)

Reproducible with:
VLNQA00030, Lge LG G2, Android: 4.4.2, CPU: Snapdragon 800 MSM8974, GPU: Adreno (TM) 330
VLNQA00277, Asus ROG Phone, Android: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00006, Samsung Galaxy S7, Android: 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00121, Samsung Galaxy S9, Android: 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
iPhone 6S (13.3.1)

Notes:
- Game does not run properly on Player in Windows

  1. Resolution Note:

    IUnityBannerListener was introduced in Unity 3.0.0. Attempting to use an older version of the Unity Ads SDK may result in ClassNotFoundException. The most common cause of this error is duplicate versions of the Unity Ads SDK included in the project, where one version is older than 3.0.0.

    The Package Manager is now the recommended way to integrate the Ads SDK. If you are upgrading from the Asset Store version, please make sure to remove the Unity Ads SDK from the Plugins folder (for both Android and iOS). Once the legacy version is removed from the project, Unity Ads should work as expected.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.