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
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
- Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
- RenderTexture pixels are gray when created without drawing on macOS
- Slider disappears when the Baked Lightmap Viewer window is at its minimum size
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a17