Search Issue Tracker

Fixed in 2022.2.X

Votes

4

Found in

2018.4

2019.4

2020.1

2020.1.12f1

2020.2

2021.1

Issue ID

1291253

Regression

No

Build fails when multiple Newtonsoft.Json.dll files are included in the project

Scripting

-

How to reproduce:
1. Open the attached project's "case_1291253-Project.zip"
2. Make a build
3. Observe the Console Window

Expected result: No errors are thrown
Actual result: "PrecompiledAssemblyException: Multiple precompiled assemblies with the same name nunit.framework.dll included or the current platform." error is thrown

Reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a10

Link to the forums: https://forum.unity.com/threads/conflict-between-assets-newtonsoft-and-packagemanagers-newtonsoft.843898/#post-6581038

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a10

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.