Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug JSONParseException when setting up Analytics

Discussion in 'Unity Analytics' started by Andrea94, Dec 13, 2023.

  1. Andrea94

    Andrea94

    Joined:
    Jul 12, 2015
    Posts:
    1
    Hi,
    I'm having some issues setting up the Analytics service on the project. After selecting the correct organization and generating the project ID, when I try to press play in the editor, the console returns this error:

    JSONParseException: Cannot parse json value starting with '<!doc' at line 1, column 1
    UnityEditorInternal.JSONParser.ParseValue () (at <9b8dec54b88e4aa9b9661a30f7e3f61e>:0)
    UnityEditorInternal.JSONParser.Parse () (at <9b8dec54b88e4aa9b9661a30f7e3f61e>:0)
    UnityEditor.Connect.AnalyticsProjectSettings.OnGetValidationData (System.String downloadedData) (at <ddf274010c5f4b8a98e85a372060e5dd>:0)
    UnityEngine.AsyncOperation:InvokeCompletionEvent()

    I haven't found a solution yet; could someone help me out?
     
  2. huoyanxu

    huoyanxu

    Joined:
    Jun 23, 2018
    Posts:
    2
    same issues,but when I open the VPN ,everything is solved:)