Search Unity

Unity Ads doesn't initialize on iOS

Discussion in 'Unity Ads & User Acquisition' started by CrustedCakes, Mar 23, 2020.

Thread Status:
Not open for further replies.
  1. CrustedCakes

    CrustedCakes

    Joined:
    Mar 7, 2015
    Posts:
    1
    Build: currently using Cloud Build for Android and iOS
    Unity: 2019.3.5f1
    Advertisement 3.4.4

    Currently test ads work fine for Android, where the same code does not result in functional behavior on iOS, as in Unity Ads never returns true for isInitialized.

    I'm kind of at a loss for what to do next because there are no clear error messages or anything that seems to point a path forward.

    One thing I noticed is that in my cloud build log for iOS there are multiple deprecated warnings about Monetization. I only have "using UnityEngine.Advertisements" anywhere in my code:

    3627: ▸ ⚠;️ /BUILD_PATH/crustedcakes.word-circle.default-ios/temp20200323-7373-16c6av8/Libraries/com.unity.ads/Plugins/iOS/UnityMonetizationUnityWrapper.m:73:24: 'UnityMonetization' is deprecated: Please use the UnityAds interface [-Wdeprecated-declarations]

    my Android build has no references indicating any calls to Monetization and works fine.
     
  2. dawitabraham

    dawitabraham

    Joined:
    Aug 31, 2017
    Posts:
    2
    I had a similar problem. On every build, I was appending to my previous iOS build folder. It got resolved when I deleted the iOS build folder and rebuilt it. Also make sure to see if the "Ads" service in Unity is turned on.
     
Thread Status:
Not open for further replies.