Unity dll引用缺少解决

317 阅读1分钟

Unity Plugins添加dll遇到错误:

Unable to resolve reference 'System.Runtime.CompilerServices.Unsafe'. 
Is the assembly missing or incompatible with the current platform?

解决方案: 从www.nuget.org/packages/Sy… 中下载对应版本的包解压,拷贝lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll 到Plugins目录中。