-
Notifications
You must be signed in to change notification settings - Fork 190
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 libraty reference update needed. #77
Comments
Would you see the #78? @kxingking looks like resolved the issue. And please, let me know if it resolves your issue. Thanks in advance. |
Sorry for my bad descrption,I haven't resolve this issue. After I upgrade the Newtonsoft.json version to 2.0.0-preview manually in manifest.json and delete the Newtonsoft.json.dll in the project, the errors in Editor console disappered. But when I press this "Finish Authentication" button, the error still showed:
It seems the scripts can find the newer dll in \Library\PackageCache\ folder but the dlls in GDataPlugin\Editor\Google\ folder still depend on the old Newtonsoft.json dll. so any suggestions? |
Hi @kimsama ! So to recap: Unity on its side has: Unity now does not allow to have several libraries to be loaded in the same namespace, namely: So the root of the problem that Google.GData library "strongly" relies on / references version 4.0.5.0 which could not be loaded, because the newer version of the library is present in the system. So it seams to me, that to resolve the issue a newer version of Google.GData has to be supplied with the plugin without "strong naming" for the Newtonsoft library. |
First thing first, thank you for the detailed answer and sorry for the late replay.
Is that clear? I have no ideas on Google.GData is strongly bound to Newtonsoft.Json. The newer version of Newtonsoft.json is available on here but it sounds like the newer version of Google.GData should be applied to resolve that. Google.GData SDK can be downloaded on here and its latest version is 2.2.0.0. But even the latest version of GData uses 4.0.5.1 version of Newtonsoft.json. UPDATE: |
Found some clues: |
omg, when I upgraded my project to 2020, this tool doesn't work! |
Sorry for the inconvenience. It's a known issue and looks like it might need the update of Google SDK. |
It's really need gdata? |
Solved Sorry to answer so late. |
I have just updated my project to Unity 2020.1.0a23 and have got the following error:
So it seams that the reference and/or an assembly has to be updated in the source code to a newer version.
And thanks for the great asset!
The text was updated successfully, but these errors were encountered: