Hey fam,
I’m working on separating out some core code that my client and server share, including some of the custom messages I send back and forth. I have a bunch of classes derived from MessageBase that have been automatically getting serialized properly for quite some time.
However, after I moved these classes into their own DLL (with references to UnityEngine.Networking.dll) they don’t seem to be getting serialized. Any message I send, all the fields are null on the server-side.
If I override Serialize and Deserialize, providing my own serialization, it works fine.
Is there another reference I need to include in the standalone DLL for this to work properly? I have no idea how to debug since none of the Unity code is available to me, and no errors are thrown.