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
Comments (1)
-
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
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
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.