cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Importing Meta Avatars SDK 14.0 into Unity

ChaseSommer
Honored Guest

When importing Meta Avatars SDK 14.0 into Unity, I get the following errors:

 

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:/Unity Projects/How to setup Meta Avatar in Unity - VR Tutorial/Library/PackageCache/com.unity.nuget.newtonsoft-json@3.0.2/Runtime/Newtonsoft.Json.dll)

and

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/Oculus/Avatar2/Scripts/AvatarEditorDeeplink/Newtonsoft.Json.dll)

 

I have attempted to delete each of the files and I have also tried not importing Newtonsoft.Json.dll when reimporting the file in a new project. When I tried reimporting without `Newtonsoft.Json.dll`, I just got a bunch of other errors, which made me believe that wasn't a good idea.

 

Any ideas?

2 REPLIES 2

Senhor_Castor
Explorer

This helped: https://forums.oculusvr.com/t5/Support/Meta-Avatar-Error-Multiple-precompiled-assemblies/td-p/929944

I ran into other issues but that seems to be the correct answer to move forward

Senhor_Castor
Explorer

The subsequent errors seem to be only on 14.0. 

 

I just tried 13.0 and after fixing that import, it compiled