Search Issue Tracker
Fixed in 2020.2
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
- Texture Importer Inspector throws errors when a built-in texture inspector is overwritten in C#
- ArgumentOutOfRangeException error is thrown when selecting a message printed in the Console with specific string
- [macOS] VideoPlayer.clockTime gets stuck for a few frames when starting to play a video
- VideoPlayer.StepForward() does not VideoPlayer.OnFrameReady when using a non-transcoded video
- [Android] A few frames of audio is played when VideoPlayer.Prepare() is called with audio output mode set to Audio Source
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a17