Open cawerkenthin opened 2 years ago
I was able to fix this in my project. If anyone else has the problem, here is how I fixed it. 1) Delete references to Newtonsoft in the GBLXAPI/scripts folder. This includes JsonNet.meta, JsonNet.unitypackage.json.meta, and the entire JsonNet folder. 2) Search all folders in the project for Newtonsoft.Json.dll and remove those that are not version 12. (Note: this is dependent on the version of Newtonsoft in the package below.) 3) In packages/manifest.json, ensure this line is included: "com.unity.nuget.newtonsoft-json": "3.0.1",
Art can you confirm if the the pull request that is pending on Newtonsoft will work or do you have an alternate pull request you would want considered.
is this error fixed? another question: is this project currently stopped?
If you attempt to use GBLxAPI in newer versions of Unity, you will receive this error:
Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included or the current platform. Only one assembly with the same name is allowed per platform. (C:/Unity Files/Test Import/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime/Newtonsoft.Json.dll
It appears that Newtonsoft is included by unity in Plastic.