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
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
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