After updating to the latest version 0.7.1-preview, I have started receiving this console errors:
1-
Error: Could not load signature of Google.Apis.Auth.GoogleJsonWebSignature+<>c:b__16_0 due to: Could not load file or assembly ‘Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. assembly:Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed type: member:(null) signature:
2-
Unloading broken assembly Packages/com.unity.localization/Editor/Plugins/Google/Lib/Google.Apis.Auth.1.45.0/Google.Apis.Auth.dll, this assembly can cause crashes in the runtime
3-
Unloading broken assembly Packages/com.unity.localization/Editor/Plugins/Google/Lib/Google.Apis.Core.1.45.0/Google.Apis.Core.dll, this assembly can cause crashes in the runtime
I checked the packages-lock.json and found the below packages installed:
I am not sure how to fix this problem, I never updated the newtonsoft json manually, so I am guessing that the Unity is using it, how should I proceed to fix this issue?
“com.unity.localization”: {
“version”: “0.7.1-preview”,
“depth”: 0,
“source”: “registry”,
“dependencies”: {
“com.unity.addressables”: “1.7.5”,
“com.unity.nuget.newtonsoft-json”: “1.1.2”
},
“url”: “https://packages.unity.com”
},
“com.unity.nuget.newtonsoft-json”: {
“version”: “2.0.0-preview”,
“depth”: 1,
“source”: “registry”,
“dependencies”: {},
“url”: “https://packages.unity.com”
},