space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.71k stars 3.43k forks source link

[ERRO] net: 78.46.69.138:1212: exception in message handler for MsgPreferencesAndSettings: System.NullReferenceException: Object reference not set to an instance of an object. #1738

Closed Visne closed 3 years ago

Visne commented 4 years ago
[WARN] net: 78.46.69.138:1212: Failed to deserialize MsgState packet: Index was outside the bounds of the array.
[ERRO] net: 78.46.69.138:1212: exception in message handler for MsgPreferencesAndSettings:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Content.Client.UserInterface.LobbyCharacterPreviewPanel.UpdateUI() in /var/lib/jenkins/workspace/SS14 Content/Content.Client/UserInterface/LobbyCharacterPreviewPanel.cs:line 118
   at Robust.Shared.Network.NetManager.DispatchNetMessage(NetIncomingMessage msg) in /var/lib/jenkins/workspace/SS14 Content/RobustToolbox/Robust.Shared/Network/NetManager.cs:line 830

Not sure if these two messages are related, I'm pretty sure they are tho

exp111 commented 4 years ago

I don't think so. I got the second one often (without the first one). It happens when you get into the lobby

Visne commented 4 years ago

You're right, I also got the first one often I'll make a new issue if it doesn't exist yet

PJB3005 commented 4 years ago

This is due to a mismatched client/server version.

exp111 commented 4 years ago

The MsgPreference too? The first one happens because of the mismatch. But the second one was also after updating