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
- UnityYamlMerge.exe doesn't correctly handle merge conflicts in modified properties on a prefab variant
- Inconsistent color scheme in "Details" section of "Select Presets" inspector window
- Crash on __pthread_kill when launching Editor via command-line with "-disableManagedDebugger" argument
- [VFX] Deleting “New Group Node” name doesn’t allow to type or add new name
- [VFX] Creating a long Group Node name breaks nodes boarders
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a17