Search Unity

Unity Ads SDK fail to initialize due to internal error

Discussion in 'Unity Ads & User Acquisition' started by henryhc, Jul 28, 2020.

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

    henryhc

    Joined:
    Jan 25, 2019
    Posts:
    3
    Unity Ads 3.4.6 and Unity Ads 3.4.0 has the same problem.

    +[USRVApiSdk WebViewExposed_logError:callback:] (line:57) :: Initialization error: Unity Ads SDK fail to initialize due to internal error
     
  2. Unity_Adamski

    Unity_Adamski

    Unity Technologies

    Joined:
    Jul 20, 2020
    Posts:
    110
    Hi Henryhc,

    Would you be able to provide some additional details?

    Such as:
    • What devices have you seen this issue on
    • What Unity version are you developing with
    • Full device logs
    • Your ads code implementation
     
    Last edited: Jul 28, 2020
  3. henryhc

    henryhc

    Joined:
    Jan 25, 2019
    Posts:
    3
    Hi,
    1.My devices is iphoneX
    2.I had try 3.4.6 and 3.4.0, both have this issue
    3.full logs:
    I/UnityAds: +[UnityServices initialize:delegate:testMode:usePerPlacementLoad:] (line:48) :: Initializing Unity Ads 3.4.0 (3400) with game id 3xxxxx(--My Game id, I filled in the correct game ID) in test mode
    I/UnityAds: -[USRVInitializeStateConfig execute] (line:167) :: Unity Ads init: load configuration from https://config.unityads.unitychina.cn/webview/3.4.0/release/config.json
    I/UnityAds: -[USRVInitializeStateLoadCache execute] (line:205) :: Unity Ads init: webapp loaded from local cache
    E/UnityAds: +[USRVApiSdk WebViewExposed_initError:code:callback:] (line:42) :: Web application failed to load with error : Unity Ads SDK fail to initialize due to internal error
    E/UnityAds: +[USRVApiSdk WebViewExposed_logError:callback:] (line:57) :: Initialization error: Unity Ads SDK fail to initialize due to internal error

    4.My ads code implementation:

    - (void)viewDidLoad {
    [super viewDidLoad];
    [UnityAds initialize : @"3xxxxxx" delegate : self testMode : true];
    }



     
  4. henryhc

    henryhc

    Joined:
    Jan 25, 2019
    Posts:
    3
    hello~?
     
  5. Unity_Adamski

    Unity_Adamski

    Unity Technologies

    Joined:
    Jul 20, 2020
    Posts:
    110
    Hi Henryhc,

    Sorry for not getting back to you sooner, would you be able to create an ads support ticket from your dashboard. So we are able to better to deal with your issue and you are able to provide us with more potentially sensitive information.
     
  6. monika_2104

    monika_2104

    Joined:
    Oct 8, 2020
    Posts:
    1
    I am getting the same error. Don't know how to proceed.
     
  7. threecatsgamers

    threecatsgamers

    Joined:
    Oct 18, 2020
    Posts:
    5
    same error here
     
  8. salimpinjari

    salimpinjari

    Joined:
    Jul 17, 2021
    Posts:
    1
    same error on android studio too
     
  9. mack178

    mack178

    Joined:
    May 22, 2015
    Posts:
    14
    Also getting this on a game that has been in production for ~2 months (no update pushed recently to cause this). Is there a solution?
     
  10. killapi

    killapi

    Joined:
    Jun 25, 2021
    Posts:
    3
    same here, any solutions?
     
  11. himynameisnicks

    himynameisnicks

    Unity Technologies

    Joined:
    Apr 12, 2018
    Posts:
    11
    Hi everyone. If you are still experiencing this problem and seeing this error, please send us a Support ticket to unityads-support@unity3d.com and we'll be happy to help you out. Thanks!
     
  12. himynameisnicks

    himynameisnicks

    Unity Technologies

    Joined:
    Apr 12, 2018
    Posts:
    11
    Hi Everyone. If you are still experiencing this problem and encountering this error, please send us in a Support ticket to unityads-support@unity3d.com and we'd be happy to help you out. Thanks!
     
Thread Status:
Not open for further replies.