Search Issue Tracker
Duplicate
Votes
0
Found in
2019.3
2019.4.2f1
2020.2
Issue ID
1261360
Regression
No
Unable to import NuGet packages Microsoft.Bcl.AsyncInterfaces, System.Threading.Tasks.Extensions cannot be loaded correctly
How to reproduce:
1. Open the attached Example 2.zip project
2. Open the Sample Scene and inspect the errors in the Console window
3. Enter the Play mode and inspect the error in the Console window
Actual: Errors are thrown in the console window
Reproducible with: 2019.3.16f1, 2019.4.3f1, 2020.1.0b16, 2020.2.0a18
The errors:
- Error: Could not load signature of System.IAsyncDisposable:DisposeAsync due to: Could not load file or assembly 'System.Threading.Tasks.Extensions,
Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. assembly:System.Threading.Tasks.Extensions, Version=4.2.0.0,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:<unknown type> member:(null) signature:<none>
- Unloading broken assembly Assets/NuGetPackages/Microsoft.Bcl.AsyncInterfaces/Microsoft.Bcl.AsyncInterfaces.dll, this assembly can cause crashes in the runtime.
In the Play mode:
- TypeLoadException: Could not resolve the signature of a virtual method
System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) (at <fb001e01371b4adca20013e0ac763896>:0)
Main.Start () (at <d3a973bcf5024ad394f7284204b5713b>:0)
Notes:
- Could not test earlier versions because project breaks when downgrading
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
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
This is a duplicate of issue #1193928