Search Issue Tracker
Fixed
Votes
1
Found in
2020.3
2020.3.2f1
2021.1
2021.2
Issue ID
1325840
Regression
No
AndroidJavaException is thrown when calling Advertisement.Show()
Steps to reproduce:
1. Open the user's attached project "QuizWorld.zip"
2. Build it to Android with developer option enabled
3. Connect the app to Android Logcat
4. In the app press on "By Category"
5. Notice the Error UnityAds com.unity3d.services.store.StoreBilling.asInterface() error in the logcat
6. Answer 8 to 12 questions on the app
8. Notice the Unity AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='show' error in the logcat
Expected results: Unity adds load
Actual results: Unity ads fails to load
Reproducible with: 2020.3.5f1, 2021.1.5f1, 2021.2.0a16
Unable to test with: 2018.4.35f1, 2019.4.25f1(Project breaks)
Reproducible devices:
----------, Huawei - (ELS-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00264, Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00279, Samsung Galaxy S10+ (SM-G975U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
-
Resolution Note:
Fixed in Advertisement SDK 3.7.5 available in 2019.4 and higher
-
dtootill
May 06, 2021 12:51
This issue is a regression that occurs in Unity Ads 3.7.0 and 3.7.1 and occurs in both Android and IOS. There is a workaround of downgrading to Unity Ads 3.6.1 (IOS) or 3.6.2 (Android). See https://fogbugz.unity3d.com/default.asp?1334079_m5ccumgqi6lvg9t8
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
ap-unity
May 17, 2021
This is a regression in the Advertisements package 3.7.0 and 3.7.1.
The workaround is to use a placement ID when calling Advertisement.Show. You can find the IDs you have configured in your dashboard.