cancel
Showing results for 
Search instead for 
Did you mean: 

Meta Avatar Error: Multiple precompiled assemblies

zdavis0099
Explorer

I am getting these errors, but when I remove one I get even more issues. 

 

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

 

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. (C:/Users/zachd/Desktop/Projects/VR/Liars_Dice/Library/PackageCache/com.unity.nuget.newtonsoft-json@2.0.0/Runtime/Newtonsoft.Json.dll)

1 ACCEPTED SOLUTION

Accepted Solutions

JeremyKplatform
Honored Guest

Hello,

I was able to get it to work, by installing oculus integration v35 first, and then meta avatars sdk. When importing meta avatars, scroll way down to 'AvatarEditorDeeplink' section and uncheck newtonsoft.Json.dll.

 

This seemed to work for me, avatars started showing up on podiums. Hope that doesn't break something, but I assume it is getting that dll somewhere else and doesn't need it, since it says it's duplicated in the original error.

View solution in original post

8 REPLIES 8

I'm having the same problem and am in trouble.

A little progress has been made.
I tried it with Uniry2020, but restarting Unity seems to solve the problem.
In Unity2021, it was not resolved by rebooting. The recommended environment for Meta is 2020, so I'll try using it in 2020 for the time being.

JeremyKplatform
Honored Guest

Hello,

I was able to get it to work, by installing oculus integration v35 first, and then meta avatars sdk. When importing meta avatars, scroll way down to 'AvatarEditorDeeplink' section and uncheck newtonsoft.Json.dll.

 

This seemed to work for me, avatars started showing up on podiums. Hope that doesn't break something, but I assume it is getting that dll somewhere else and doesn't need it, since it says it's duplicated in the original error.

@JeremyKplatform 
Thank you, I was able to solve it that way too.

I was able to get it working via the uncheck newtonsoft.Json.dll solution below (or just deleting it after install) in Unity 2017.1.17f1.  I created a brand new project just for the Avatars.  Now I just need to figure out why it does not work in my main 2017.1.17f1 project.

 

That worked, and totally makes sense. Strange how when I tried to delete it from inside the project things got broken... Working fine now though, thanks!

Does it have to be oculus integration v35? and what version of meta avatar sdk do we use? can this error be resolved using the latest version of oculus integration (v47.0) and the meta avatar sdk (v20.0)?

edusuko
Honored Guest

I have had the same problem with OculusIntegration_v47.0 and MetaAvatarsSDK v20. 

I have resolved the issue removing the folder "AvatarEditorDeeplink"

In the folder is a file where describes:

The DLLs in this folder are only used for Avatar Editor Deeplinking. If you do not plan to open the avatar editor from your app, follow these steps to remove the dlls from your builds:

1) Add DISABLE_IPC_CONNECTOR to your Scripting Define Symbols
2) Remove all calls to AvatarEditorDeeplink.LaunchAvatarEditor()
3) Delete the AvatarEditorDeeplink folder and its contents

I have solved the issue, following those steps...

Still need help?

Did this answer your question? If it didn’t, use our search to find other topics or create your own and other members of the community will help out.

If you need an agent to help with your Meta device, please contact our store support team here.

Having trouble with a Facebook or Instagram account? The best place to go for help with those accounts is the Facebook Help Center or the Instagram Help Center. This community can't help with those accounts.

Check out some popular posts here:

Getting Help from the Meta Quest Community

Tips and Tricks: Charging your Meta Quest Headset

Tips and Tricks: Help with Pairing your Meta Quest

Trouble With Facebook/Instagram Accounts?