Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
Issue ID
1302104
Regression
No
API Updater throws an error when importing a dll file that references the Newtonsoft.Json.dll from the Newtonsoft Json package
How to reproduce:
1. Open the attached "1302104 repro" project
Expected results: the project is opened without any errors
Actual results: API updater fails to resolve the Newtonsoft.Json reference in the "Common.dll" file and throws a warning
Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.2.0a16
Not reproducible with: 2020.2.0a17, 2020.2.1f1, 2021.1.0b2, 2021.2.0a1
Notes:
-The DLL seems to be functional and works correctly even with the error
-When the API Updater updates successfully, nothing gets changed
-The "Run API Updater..." menu item remains clickable until the API Updater runs successfully at least once
-The generated .tmp file is always empty
-"UNITY_ASSEMBLYUPDATE_LOGTHRESHOLD=Debug" doesn't give any additional information about the issue
-The issue doesn't reproduce if the same Newtonsoft.Json.dll from the "com.unity.nuget.newtonsoft-json" package is moved to the Assets folder
-The result doesn't differ when changing Newtonsoft Json package versions
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NavMesh Surface is baked too high above the ground, making the NavMesh Agents hover above the ground when the HeightMesh is not built
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a17