Skip to content
This repository has been 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

Open
mDanz opened this issue Oct 23, 2015 · 0 comments

Comments

@mDanz
Copy link

mDanz commented Oct 23, 2015

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant