Search Issue Tracker

Fixed

Fixed in 0.8.0-preview

Votes

0

Found in [Package]

0.7.1-preview

Issue ID

LOC-113

Regression

Yes

Conflicting Newtonsoft.Json errors get logged when Localization and Performance Testing API packages are imported

Package: Localization Package

-

How to reproduce:
1. Create a new project
2. Import the Localization package (add "com.unity.localization": "0.7.1-preview" in manifest.json)
3. Import Performance Testing API package from the Package Manager (or add "com.unity.test-framework.performance": "2.2.0-preview" in manifest.json)

Expected result: both packages get imported and no errors occur
Actual result: conflicting Newtonsoft.Json errors get logged in the Console window

Reproducible with: 0.7.1-preview (2019.4.6f1, 2020.1.0f1, 2020.2.0a19)
Not reproducible with: 0.3.2-preview (2018.4.26f1), 0.6.0-preview (2019.4.6f1), 0.6.1-preview (2019.4.6f1, 2020.2.0a19)

Notes:
1. The same issue occurs when importing Localization along with packages that depend on Performance Testing API (for example, Collections)
2. Localization 0.7.1-preview uses Newtonsoft.Json version 1.1.2 while Performance Testing API 2.3.1-preview uses Newtonsoft.Json 2.0.0-preview
3. Error message: 'Assembly 'Packages/com.unity.localization/Editor/Plugins/Google/Lib/Google.Apis.1.45.0/Google.Apis.dll' will not be loaded due to errors:
Google.Apis references strong named Newtonsoft.Json in a different folder, versions has to match. Assembly references: 12.0.0.0 Found in project: 12.0.1.0.'

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.