06-11-2022 09:45 AM
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?
06-12-2022 02:43 PM
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
06-12-2022 02:49 PM
The subsequent errors seem to be only on 14.0.
I just tried 13.0 and after fixing that import, it compiled