BugWebgl
#1878
Replies: 1 comment
-
|
Your first report had a lot more detail. I suggest you build your question up to help folks who didn't see your issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i try run on webgl:
NeokoRoom_BUILD.framework.js:2239 FormatterNotRegisteredException: GameHelper+Idol is not registered in resolver: MessagePack.Resolvers.StandardResolver
at MessagePack.FormatterResolverExtensions.Throw (System.Type t, MessagePack.IFormatterResolver resolver) [0x00000] in <00000000000000000000000000000000>:0
Rethrow as MessagePackSerializationException: Failed to serialize GameHelper+Idol value.
at MessagePack.MessagePackSerializer.Serialize[T] (MessagePack.MessagePackWriter& writer, T value, MessagePack.MessagePackSerializerOptions options) [0x00000] in <00000000000000000000000000000000>:0
This is my code:
byte[] bytes = MessagePackSerializer.Serialize(new GameHelper.Idol() {name = "Karina", birthdayYear = 2003 });
var deserialized = MessagePackSerializer.Deserialize<GameHelper.Idol>(bytes);
Beta Was this translation helpful? Give feedback.
All reactions