-
I am trying install but I have conflicts with actual newtonsoft installed inside Unity. 'Packages/jillejr.newtonsoft.json-for-unity/Plugins/Newtonsoft.Json AOT/Newtonsoft.Json.dll' conflicts with: I a using Unity 2020.3.11f |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I Go to Advanced Package Managers settings and check the show all dependencies package. I remove now the Collab package that has as dependency the newtonsoft package from Unity. After that do a Reimport All. JilleJr newtonsoft installed! |
Beta Was this translation helpful? Give feedback.
-
Sorry to say that you cannot have them side by side. The reason for the GUID collision is that Unity just forked my repository, but didn't refresh the GUIDs. But even if the GUIDs weren't colliding, there would still be two Newtonsoft.Json assemblies causing collisions on that level. There are some other things as well that are in the way for this to succeed, so the short answer is no, you cannot have both my package and the "official" Unity package as well. We're in the midst of moving my package over to the UnityTechnologies organization here on GitHub, but those plans currently looks like will be accomplished in 2022 as soonest. Thanks for your patience! |
Beta Was this translation helpful? Give feedback.
-
After I change to you newtonsoft package, I get the error in apk:
Now, when I back to normal newtonsoft package, the error does not gone. It is persists. |
Beta Was this translation helpful? Give feedback.
-
Does anyone know if the Unity one can be included as a dependency in 2019 and 2020? I notice it only shows in 2021 because of Collab... |
Beta Was this translation helpful? Give feedback.
Sorry to say that you cannot have them side by side. The reason for the GUID collision is that Unity just forked my repository, but didn't refresh the GUIDs.
But even if the GUIDs weren't colliding, there would still be two Newtonsoft.Json assemblies causing collisions on that level.
There are some other things as well that are in the way for this to succeed, so the short answer is no, you cannot have both my package and the "official" Unity package as well.
We're in the midst of moving my package over to the UnityTechnologies organization here on GitHub, but those plans currently looks like will be accomplished in 2022 as soonest.
Thanks for your patience!