-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple precompiled assemblies with the same name Newtonsoft.Json.dll #401
Comments
Hi @rgeorge0706, can you let me know what version of the MRTK you are using? Also, I don't believe that specific tutorial has been updated to support Unity 2021 yet. It is possible that this issue is indeed related to the version of Unity you are using, as compatibility has only been tested with Unity 2019.4 LTS. |
I am using MixedRealityFeatureTool-1.0.2104.4-Beta |
Sorry closed by mistake |
@rgeorge0706 This tutorial series supports Unity 2020 LTS (currently 2020.3.x) if you are using Open XR or Windows XR Plugin and also Unity 2019 LTS (currently 2019.4.x) if you are using Legacy WSA. I would recommend using Unity 2020.3 and seeing if this resolves your issue for now. |
I used Unity 2020.3, and I still face the same issue and see the same error message. It seems that Azure Storage needs Newtonsoft v10 while Unity automatically installs Newtonsoft v12 for a Version Control package added when creating a new project. The dependencies for these packages are causing the "multiple precompiled assemblies" error. |
@rgeorge0706 Is this a third-party Version Control package you are installing? This tutorial series was validated with no errors on Unity 2020.3 LTS, but I haven't personally tested it myself. I should be able to do that later today and see if I can replicate your issue. |
The version control package is automatically included when I create Unity projects with Unity 2020.3.16, I did not download it from a third party. |
Any solution for this issue? |
@limsb95 I removed Version Control, which is found in Windows>Package Manager. And it fixed my multiple Newtonsoft.Json.dll errors. |
@rgeorge0706 I'm glad you got it working, although there should be a fix that is implemented. Once I can reproduce, I'll file a PR. |
I was facing the same issue. I also removed Version Control and it works |
At "Importing the tutorial assets" when I try to import Azure Storage for Unity (version 2021.1.16f1), I get the below errors (numbers at beginning added by me):
(1) 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. (C:/Users/username/OneDrive/Documents/UnityWork/AzureCloudTutorials3/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime/Newtonsoft.Json.dll)
(2) 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/Azure Storage/Plugins/Newtonsoft.Json.dll)
If I try to remove either one of these, more errors will pop up.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: