Skip to content
This repository was archived by the owner on Sep 3, 2019. It is now read-only.
This repository was archived by the owner on Sep 3, 2019. It is now read-only.

Scene2D.Deserialize() causing Exception: ProtoBuf.ProtoException: No parameterless constructor found for SceneIndex #270

@mDanz

Description

@mDanz

Hi I am stuck with the demo vector project for Android. My problem is with the deserialization of the sceneStream.

Scene2D.Deserialize(sceneStream, true) runs into a ProtoBuf.ProtoException

is this a Bug or am I missing something? I just copied the code from your example.
Your support would be great!

Best Regards

Update:

I tested my code now inside a simple prototype, where it runs without problems. But when I try to runs the exact same code inside my release application it runs into this ProtoException.
I searched the Internet for the cause, but could not find any solutions. The Assemlies, .map file and build environment are the same.
I also found that sometimes the "No parameterless constructor"-Exception is thrown when the stream handed to it is empty. So I'm now searching for problems with the sceneStream which is given to Scene2D.Deserialize(). But when I compare the streams from my working prototype and the release application they seem identical. Does Anyone know what I have to look for?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions