Unity2017使用Google.Protobuf.dll(.NET3.5版本)

官方Protobuf的C#实现要求.Net4.6及以上,Unity2017有NET3.5和.NET4.6两种版本。 如果编译Google.Protobuf.dll时选择的.Net版本过高,一般多数为.NET4.6版本,把该dll导入Unity项目中能看到dll无法正常工作,报错如下图。 解决方法1 在Unity中更改.NET版本为.NET4.6 解决方法2 编译Google.Protobuf.dl
相关文章
相关标签/搜索