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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a17