Skip to content

真机ProtoBuf.Serializer.Serialize 提示Object reference not set to an instance of an object. #2

Closed
@luogangd

Description

@luogangd

傑 15:36:50
可以提个issue

傑 15:36:53
我感觉是你这个被裁减了

傑 15:36:57
也可以做个clr绑定

protobuff 加上下面 注释的代码 ,序列化时报空
注释掉后正常
[global::ProtoBuf.ProtoMember(2)]
// [global::System.ComponentModel.DefaultValue("")]
public string token = "";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions