Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included

Discussion in 'Package Manager' started by WallaceHS, Dec 20, 2021.

  1. WallaceHS

    WallaceHS

    Joined:
    Aug 7, 2021
    Posts:
    9
    Hello again!

    I'm getting 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.
    1) (Assets/Packages/Newtonsoft.Json.13.0.1/lib/net45/Newtonsoft.Json.dll)
    2) (.../Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime/Newtonsoft.Json.dll)

    Problem started after I installed the google.apis.translate.v2 package from NuGet.

    I tried both of these without success:

    https://stackoverflow.com/questions...emblies-with-the-same-name-using-external-dll
    https://www.reddit.com/r/Unity3D/comments/o18fet/multiple_precompiled_assemblies_with_the_same_name/

    It doesnt matter if I delete the Library\PackageCache and ScriptAssemblies and the 'Packages\Newtonsoft.Json.13.0.1' folders, they always come back and the error is still here!

    Anyone can help me, please?

    Thank you much!
     
  2. hossi54

    hossi54

    Joined:
    May 3, 2024
    Posts:
    1