Search Issue Tracker

Fixed in 2021.1

Fixed in 2019.4, 2020.2

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

Scripting

-

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

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a2

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.2f1

  3. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.17f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.