NewtonSoft Serialization Exception
Hi i have a shared library i use on both client and server, most of JSON works fine, but in this example i have List.
7 Replies
well have you ever changed the versionumber of the shared lib?
could be that you are usign two different versions
also different version of newtonsoft could be the issue
Well, i have not changed the version number, i made sure they both reference same dll.
Will check about newtonsoft version since i am not sure if they are the same.
just to be sure since you didnt provide too much information...
you issue is that de/-serialization is working on server/client but not on the other right?
or is this a general problem?
Well version are same.
De/Serialization works fine, until List is not involved, when list is involved, it has System.Private.CoreLib in $type(im using TypeNameHandling).
Also since this is also Godot 4.3 C# building to android could be their problem, with dependencies. Just wanted to ask here, if this has any solutions and is a common error.
I will write at Godots discord also, since building to Android with C# project is still new.
welp i ve no experience with android+c#/godot so im out
Got it working, by changing TypeNameHandling.All to TypeNameHandling.Objects.
dont use newtonsoft
:kadse: