Unity Editor 2021 IAsyncDisposaple Multiple dll issue
TumayVarel opened this issue · 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'
You probably mean Unity 2021.3.4f1 . Got the same error too.
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
fixed at 1.7.0.