Search Unity

Failed to pass configuration and invalid json string

Discussion in 'Unity Ads & User Acquisition' started by noknisieWin10, Jan 19, 2017.

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

    noknisieWin10

    Joined:
    Dec 23, 2016
    Posts:
    1
    Hi all
    I've got a problem with UnityAds in Unity 5.5
    When I toggle unity ads in service tab immediately I receive 2 errors in play mode:
    Platform is set to Android and Enabled test mode is ticked

    1. Failed to parse configuration for gameId: {my game id}
    System.Net.Sockets.Worker:Receive()

    2. SerializationException: Invalid JSON string
    SimpleJson.SimpleJson.DeserializeObject (System.String json) (at C:/buildslave/unity/build/Runtime/Web/Managed/SimpleJson.cs:544)
    UnityEngine.Advertisements.Editor.Configuration..ctor (System.String configurationResponse) (at C:/buildslave/unity/build/Extensions/UnityAds/UnityAds/Editor/Configuration.cs:15)
    UnityEngine.Advertisements.Editor.Platform+<Initialize>c__AnonStorey0.<>m__0 (IAsyncResult result) (at C:/buildslave/unity/build/Extensions/UnityAds/UnityAds/Editor/Platform.cs:97)
    System.Net.Sockets.Worker:Receive()

    Any clues ....
    Many thanks in advanced.
     
  2. mikaisomaa

    mikaisomaa

    Unity Technologies

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

    DBarlok

    Joined:
    Apr 24, 2013
    Posts:
    268
    Hi,

    Im having the same issue today, sudenly. Nothing was changed from me since the game was published,
    im just trying to update some graphics.
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    Since this post is almost two years old, it's unlikely related to the same issue. Could you please create a new forum post and provide the full details of the issue you are having. Specifically, it would be helpful to have:
    • The version of Unity
    • The version of the Ads SDK
    • If you are using mediation, which version?
    • Any device or editor logs you have collected.
     
Thread Status:
Not open for further replies.