Search found 4 matches

by ERR0
20 Jul 2012, 14:47
Forum: SFS2X C# API
Topic: Cannot serialize List<string>
Replies: 7
Views: 12498

Re: Cannot serialize List<string>

Thanks Lapo!
I'll send it as a string[] and attach it to my object using PutUtfStringArray.
I tested it and it didn't give me a serialization error.
by ERR0
09 Jul 2012, 18:18
Forum: SFS2X C# API
Topic: Cannot serialize List<string>
Replies: 7
Views: 12498

Cannot serialize List<string>

Hi I'm trying to send a List<string> to the SFS from my client API and I get this error: [SFS DEBUG] Cannot serialize field of object: com.insightng.platform.model.Group, field: nodeIds, type: MonoField -- unsupported type! The list is part of an object called Group and I'm putting the group into an...
by ERR0
03 Jul 2012, 15:30
Forum: SFS2X Questions
Topic: class serialization: primitive type vs. class in arrays
Replies: 11
Views: 18172

Re: class serialization: primitive type vs. class in arrays

Just an update. I edited my Group class method names to precisely match those of the server. I also looked into using "String" instead of "string" but C# just uses the alias "string" for System.String - which is the equivalent to the Java String. So I'm still stuck with...
by ERR0
28 Jun 2012, 04:27
Forum: SFS2X Questions
Topic: class serialization: primitive type vs. class in arrays
Replies: 11
Views: 18172

Re: class serialization: primitive type vs. class in arrays

Unity developer here. Here's the error I receive when I try to send the server an SFSObject that contains a class with a List<string> in it: [SFS DEBUG] Cannot serialize field of object: com.insightng.platform.model.Group, field: nodeIds, type: MonoField -- unsupported type! Here's my function where...

Go to advanced search