ZLogger icon indicating copy to clipboard operation
ZLogger copied to clipboard

Unity Editor 2021 IAsyncDisposaple Multiple dll issue

Open TumayVarel opened this issue 3 years ago • 2 comments

In Unity Editor 2021.4.3, Zlogger gives two compile error:


Assets\Scripts\ZLogger\AsyncStreamLineMessageWriter.cs(12,69): error CS0433: The type 'IAsyncDisposable' exists in both 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Assets\Scripts\ZLogger\IAsyncLogProcessor.cs(7,43): error CS0433: The type 'IAsyncDisposable' exists in both 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

TumayVarel avatar Jun 11 '22 12:06 TumayVarel

You probably mean Unity 2021.3.4f1 . Got the same error too.

GCodergr avatar Jul 02 '22 10:07 GCodergr

1.Download https://github.com/Cysharp/ZLogger/files/7770293/Cysharp.zip 2.Replace the plugins/unity_2021/Microsoft.Bcl.AsyncInterfaces.dll file 3.Delete the ZLogger.Shims folder

hanxiaoxin778 avatar Jul 12 '22 13:07 hanxiaoxin778

fixed at 1.7.0.

neuecc avatar Oct 26 '22 10:10 neuecc