Help For Issues With Newtonsoft.Json.dll

TobiasTobias admin
Some developers report compiler issues with Newtonsoft.Json.dll in Unity.

PUN contains the Newtonsoft.Json.dll for some work in the Editor - not in the Player.
Quite a few packages and projects use Json in the Editor or player. This includes the PlayFab package!
Chances are you imported another plugin that uses the same assembly but the file location is different in the project. If a dll is in the project more than once, it will clash.

Search your project for "Newtonsoft.Json" and make sure there is only one such dll in the project.
Which dll to remove depends on the project but chances are good to remove the one of PUN!
PUNs copy of it is in this project folder: \Photon Unity Networking\Editor\PhotonNetwork
Sign In or Register to comment.