I am trying to implement Unity Ads (Advertisement Legacy v4.4.2), but the Android app crashes when I try to execute Advertisement.Show for interstitial and rewarded ads in test mode. The loading of the ads seems to be successful, but I cannot show them. Banners work correctly. When running on the PC editor, the app works correctly. I get the same problem when running a simple app as well as the sample app that comes with the package.
From Android Logcat I get a number of warning messages before the crash of “com.unity3d.services.core.device.Device.getNetworkType() (line:148) :: Unity Ads was not able to get current network type due to missing permission”.
I am using a custom Android Manifest file with only the following permissions added, based on various forums I have read:
I am using Android API level 33 and I have set this as my target API version in the Project Player settings.
I have uninstalled any potential ad blockers and restarted the device.
Can anyone please let me know if there is anything that I am missing?
Thanks for any help or suggestions.