Skip to content

Newtonsoft.json error #69

Description

@raspverry

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/com.unity.nuget.newtonsoft-json@3.0.2/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\com.unity.services.core@1.4.2\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>?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions