Search Unity

Newtonsoft Json reference

Discussion in 'Entity Component System' started by Radu392, Apr 8, 2020.

  1. Radu392

    Radu392

    Joined:
    Jan 6, 2016
    Posts:
    210
    Hi, I updated all ECS related packages through the package manager and it looks like one of the dependencies the manager has installed is Newtonsoft Json. I already had this dll in my Assets folder, but the package manager installed it in the packages folder as well. Now this broke my project big time due to having 2 copies of the same dll. All sorts of errors such as 'UnityEngine.UI' is missing appear. Luckily I made a backup.

    I got rid of the json in the assets folder. Now how can I reference the json dll from inside the packages folder to use in my own scripts?
     
  2. jdtec

    jdtec

    Joined:
    Oct 25, 2017
    Posts:
    302
  3. Radu392

    Radu392

    Joined:
    Jan 6, 2016
    Posts:
    210