LLAPI data not being sent right

So I have quite a tough problem here that I have been trying to fix. I’m using the LLAPI for networking and have my own sort of way to send data. I have created a serialized NetworkMessage object which includes string methodName, messageData, and int id (for connection ids). MethodName is used to describe which method I want to execute on the end receiving the data, and messageData can be any serialized object.

Now here’s the confusing part. I’ve created my own class called ServerPlayer (serializable). It has string name and int id. When a client connects to the server, it sends a ServerPlayer object inside of NetworkMessage.messageData. There are no errors on both the server and client, but on the server side the name is a blank string.

To get even deeper, whenever the game starts up a server, I also have a client on it connect to itself, and quite frankly, the name is received by the server just fine.

Here are links to my scripts:
MenuScript.cs - MenuScript.cs - Pastebin.com
NetworkServer.cs - NetworkServer.cs - Pastebin.com
NetworkClient.cs - NetworkClient - Pastebin.com
NetworkMessage.cs - NetworkMessage.cs - Pastebin.com
ServerPlayer.cs - ServerPlayer.cs - Pastebin.com

If anyone can help me with this problem, that would be much appreciated.

bump