Search Unity

UnityAd not initializing on iOS device

Discussion in 'Unity Ads & User Acquisition' started by ldhongen1990, Feb 13, 2019.

  1. ldhongen1990

    ldhongen1990

    Joined:
    Dec 18, 2015
    Posts:
    61
    We are using Unity 2018.3.5f1, with legacy built-in extension enabled from the Service window. In package manager, the Advertisement package has been updated to 3.0.1.
    Testing the same setting on an empty project with the exact same bundle id works well, so it is really strange.

    I have already tried the following:
    *Unlink the project and link a new ID
    *Reimport the entire project
    *Check for any custom game scripts or plugins that may be interfering with the code by searching for "PostBuildProcess"

    Does anyone has an idea?


    This is the error being thrown in XCode, with error "E/UnityAds", but without enough debugging info for me to troubleshoot.
    Code (csharp):
    1.  
    2. Unity Ads init: webapp loaded from local cache
    3.  
    4. 2019-02-13 15:23:07.306 appstore[604:385547] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:58) :: Requesting configuration from https://publisher-config.unityads.unity3d.com/games/3040205/configuration?bundleId=com.luandungames.minimetalarena.ios.appstore&encrypted=true&rooted=false&platform=ios&sdkVersion=3001&osVersion=10.3.3&deviceModel=iPhone5,2&language=en_CN&test=false&analyticsUserId=7424e90b264224a289aabf340a232821&analyticsSessionId=2540736366352103260&advertisingTrackingId=EE33432C-7094-4D1B-9AAA-4F536F1DD1B7&limitAdTracking=false&frameworkName=Unity&frameworkVersion=2018.3.5f1&adapterName=Packman&adapterVersion=3.0.1-rc2
    5.  
    6. 2019-02-13 15:23:07.864 appstore[604:385547] E/UnityAds: +[USRVApiSdk WebViewExposed_logError:callback:] (line:48) :: {"line":22282,"column":20,"sourceURL":"file:///var/mobile/Containers/Data/Application/34E667DA-85B0-4036-A95A-153D52654359/Library/Caches/UnityAdsWebApp.html?platform=ios&origin=https://webview.unityads.unity3d.com/webview/3.0.1-rc2/07973168664974472f5c82106ac466c230c5ac2c/release/index.html&version=07973168664974472f5c82106ac466c230c5ac2c"}
    7.  
    8.  
    9.  
     
  2. mikaisomaa

    mikaisomaa

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    365
  3. ldhongen1990

    ldhongen1990

    Joined:
    Dec 18, 2015
    Posts:
    61