Azure Storage SDK + Cognitive3D SDK Newtonsoft.JSON.dll Conflict in Unity3D

Ajinkya Puar 21 Reputation points
2020-10-01T11:05:50.357+00:00

We encountered a few issues when importing Cognitive3D Unity package into the existing project.

Existing project has the following main modules:
URP
Unity XR Interaction Toolkit
Azure Storage SDK

We have screen recorded to share the issues with you. Please check the link.

Newtonsoft.Json.dll Conflict
As you can see there is no error before importing the packages but as soon import gets finished the first error is about Newtonsoft.Json.dll There are two Newtonsoft.Json.dll files which conflict.

Errors after compiling any script
If we ignore point 1 and continue with the integration and compile/create any script then lots of errors generated shown in the video. To remove this error we have to remove the CognitiveVR folder from the project and reimport but as soon as we compile any script errors reappear.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,874 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 35,011 Reputation points Microsoft Employee
    2020-10-01T17:36:43.567+00:00

    @Ajinkya Puar
    You might be better assisted by posting your question to the Unity forum or Stack Overflow. I was able to find a similar thread and they resolved it be simply renaming one of the dlls. Including another thread with a similar resolution.

    -----------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.