Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.2.X
Votes
3
Found in
2018.4
2019.2.3f1
2020.1
Issue ID
1193928
Regression
No
Error with .NET Standard 2.0 assemblies depending on their place in Assets
To reproduce:
1) Open the attached project and scene
2) Play it
Expected: `1` and `2` are output in the console
3) Insert one of the two .dll in their respective folder:
a) Assets/Microsoft.Extensions.Configuration.Json.dll into org.nuget.microsoft.extensions.configuration.json@2.2.0
b) Assets/Newtonsoft.Json.dll into org.nuget.newtonsoft.json@12.0.2
4) Play it again
Actual: Errors:
"Error: Could not load signature of Microsoft.Extensions.Configuration.Json.JsonConfigurationFileParser:VisitJObject due to: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. assembly:Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed type:<unknown type> member:(null) signature:<none>"
"FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies."
Reproduced in 2020.1.0a12, 2019.2.5f1, 2019.2.0a1, 2018.4.0f1
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.2f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.17f1