Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Newtonsoft JSON package missing after moving project?

Discussion in 'General Discussion' started by WavyRancheros, Apr 25, 2022.

  1. WavyRancheros

    WavyRancheros

    Joined:
    Feb 5, 2013
    Posts:
    176
    Not sure where to put this.
    I moved my project folder from one laptop to another.
    Now I am getting errors that the Newtonsoft namespace could not be found.

    I did not have any Newtonsoft folders in my project, so I guess it must have been in the packages?
    But I tried to re-add Newtonsoft JSON as a package, but I can't find it in the package manager?

    Can anyone help?
     
  2. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,883
    harshit-rv, petey and f_komposch like this.
  3. WavyRancheros

    WavyRancheros

    Joined:
    Feb 5, 2013
    Posts:
    176
    How can I add it?

    I can't find it in the package manager.
     

    Attached Files:

    RiverExplorer likes this.
  4. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,883
    You can add it via package manager using "com.unity.nuget.newtonsoft-json@3.0" or "com.unity.nuget.newtonsoft-json", if unsure how to do that I suggest reading up on the different ways to add packages to package manager:

    https://docs.unity3d.com/Manual/upm-ui-quick.html

    Good luck :)
     
  5. WavyRancheros

    WavyRancheros

    Joined:
    Feb 5, 2013
    Posts:
    176
    Thank you!
     
    MadeFromPolygons likes this.