Skip to content
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

Newtonsoft.Json.dll conflict after ecs package imported #78

Closed
kxingking opened this issue Feb 23, 2020 · 1 comment
Closed

Newtonsoft.Json.dll conflict after ecs package imported #78

kxingking opened this issue Feb 23, 2020 · 1 comment

Comments

@kxingking
Copy link

kxingking commented Feb 23, 2020

UnityVersion: 2019.3.2f1
Create an empty project and import quicksheet package,it works fine.But when I import Unity ECS package from package manager, error message showed:

PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included for the current platform. Only one assembly with the same name is allowed per platform. Assembly paths: Assets/QuickSheet/GDataPlugin/Editor/Google/Newtonsoft.Json.dll, {ProjectPath}/Library/PackageCache/[email protected]/Runtime/Newtonsoft.Json.dll

I delete the dll file at :Assets/QuickSheet/GDataPlugin/Editor/Google/Newtonsoft.Json.dll,and fixed code error in GoogleDataSettingsEditor.cs by using JsonUtility.

After I press “Finish Authentication" button, an error dialog showed , got the error message:

Could not load file or assembly "Newtonsoft.json,version =4.0.5.0,Culture=neutral,PublickKeyToken=30ad4fe6baeed" or one of its dependcies"

What show I do?

Thanks for ur excellent work.

@kxingking
Copy link
Author

kxingking commented Feb 23, 2020

Thank to the post on How to reference Newtonsoft.json without conflicts?, I change newtonsoft.json dependcy version to 2.0.0-preview in the package manifest file and delete the one in QuickSheet/GDataPlugin/Editor/Google folder.

After that I found this issue is same as the issue #77,so I close this issue .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant