TwitchLib.Unity icon indicating copy to clipboard operation
TwitchLib.Unity copied to clipboard

Newtonsoft.json error

Open raspverry opened this issue 1 year ago • 1 comments

hello, im currently using untiy 2021.3.11. I put all files of Twitchlib.unity into my project. then, i got an error Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. (D:/Unity/Projects/Old_TwitchAI/Library/PackageCache/[email protected]/Runtime/Newtonsoft.Json.dll) Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. (Assets/TwitchLib.Unity/Newtonsoft.Json.dll) i changed the name of Newtonsoft.Json.dll in twitchLib.unity folder, but then i got another error Library\PackageCache\[email protected]\Runtime\Core.Internal\Registry\DependencyTreeExtensions.cs(51,24): error CS0433: The type 'JObject' exists in both 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' and 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' is there any solution for this error>?

raspverry avatar Aug 25 '23 15:08 raspverry