Player Disconnect Fails - Cannot Reconnect without Server Restart

MemphiZ

Refugee
Version
2.1 (b9)
Platform
Linux
Hello,

please see the server log (https://pastebin.com/hEuAYzHx) for all the details but TLDR is:
When a player disconnects the server seems to fail to properly unregister them which leads to it spamming the log with lines like:
Code:
2025-07-16T20:05:25 901.032 WRN NET: LiteNetLib: Ping requested for unknown client EntityID=171, PltfmId='Steam_xxxxxxxxxxxxxxxxxx', CrossId='EOS_0002983151b54ad28613252d6a4046d5', OwnerID='Steam_xxxxxxxxxxxxxxxxxx', PlayerName='PlayerName', ClientNumber='1'
The player is not able to reconnect until the server is restarted.

The biggest problem with this is also that the server time keeps ticking which means days pass even with nobody playing.

As can be seen in the full log the EOS service is starting up without issues:
Code:
2025-07-16T19:55:31 307.157 INF [Steamworks.NET] GameServer.LogOn successful, SteamID=90271277142480924, public IP=8*.21*.21*.*
2025-07-16T19:55:31 307.359 INF [EOS] Server registered, session: 3ff00abc60824bca93fbd959939edafa, 54 attributes
2025-07-16T19:55:31 307.383 INF [EOS] Session address: 8*.21*.21*.*

There is clearly a NullReferenceException being thrown:
Code:
2025-07-16T20:03:34 790.149 EXC NullReferenceException: Object reference not set to an instance of an object
which IMHO leads to the issue at hand as the next message from EOS states:
Code:
2025-07-16T20:03:34 790.287 ERR [EOS] Failed unregistering player in session: NoChange

Please advise!
 
Reproduction Steps
1. Start Server
2. Have Player Connect
3. Have Player Disconnect
Link to Logs
https://pastebin.com/hEuAYzHx
Link to Screenshot/Video
https://youtube.com/
Back
Top