Skip to content

"GenericArguments[0], 'SystemMessageTest', on 'Google.ProtocolBuffers.IBuilderLite`2[TMessage,TBuilder]' violates the constraint of type parameter 'TMessage'."  #100

Open
@BrokenHell

Description

@BrokenHell

What steps will reproduce the problem?
1.Build a simple .proto file then convert into .cs file ( simple .proto file can just be a simple class with single data )
2.Import into Unity project ( with .cs file and .dll file for windows phone 8 ) - Unity v5.0.2p1
3.Build Unity project into Windows phone 8 project
4.Run on device in RELEASE mode => see it crashed.

error_6
error_1
error_2
error_3

I cant see the whole stack trace since everything is "Null" the only message I got from debug data is this
"GenericArguments[0], 'SystemMessageTest', on 'Google.ProtocolBuffers.IBuilderLite`2[TMessage,TBuilder]' violates the constraint of type parameter 'TMessage'."

But by doing exactly my step will get you guys there . ( dont run in Debug mode since it will be ok , run in Release mode instead )

Thanks.

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