Unity2017使用Google.Protobuf.dll(.NET3.5版本)
2020-07-19 04:46
1256 查看
官方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.dll时选择的.Net版本为低版本
这里给出了.NET3.5版本的Google.Protobuf.dll,可以直接导入使用。
链接:https://pan.baidu.com/s/11TW28ld91B49hQ53ku8amA
提取码:8y1p
相关文章推荐
- nodejs使用官方Google Protobuf 3 版本3.2.0
- Google的Protobuf安装及使用笔记
- Unity环境下使用GoogleProtoBuf
- 在C语言环境下使用google protobuf
- google protobuf安装与使用
- Go实战--go中使用google/protobuf(The way to go)
- windows环境使用python google protobuf
- google protobuf 使用示例
- C#下使用protobuf(Google Protocol Buffers)
- 深度学习Caffe实战笔记(12)Caffe 使用Python接口No module named google.protobuf.internal修复方案
- 【JAVA】google protobuf 3.0 安装使用
- google protobuf安装与使用,以及string_int_label_map_pb2.py的解决
- 在8位单片机中使用Google Protobuf
- 高性能序列化工具Google Protobuf的使用
- DELPHI、FLASH、AS3、FLEX使用Protobuf(google Protocol Buffers)的具体方法
- Google Protobuf 简单使用
- Java数据通讯中使用Google Protobuf 序列化与反序列化
- google protobuf 在Linux下安装与使用 (亲自测了一下, 确定可用!)
- 在UnrealEngine4中使用Google Protobuf