Facepunch / Facepunch.Steamworks

Another fucking c# Steamworks implementation
MIT License
2.87k stars 344 forks source link

SocketManager unable to recieve messages from ConnectionManager if it's the same steamid connecting. #745

Open AncientEntity opened 10 months ago

AncientEntity commented 10 months ago

Describe the bug It's possible this is just how SteamNetworkingSockets and the relay network works but I wanted to submit a bug, if this is intended please close it and let me know. In my Unity project if I create a ConnectionManager and then a SocketManager that connects to the ConnectionManager (aka my same steamID) it successfully connects (I have SteamNetworkingUtils debug messages everything on) and the ConnectionManager can recieve messages, but the SocketManager is unable to. But if I grab a second computer with a different Steam account the ConnectionManager and SocketManager can both recieve messages.

To Reproduce

  1. Create a SocketManager on the relay network (not IP)
  2. Create a ConnectionManager and connect to the SocketManager (aka the same SteamID as the person connecting)
  3. ConnectionManager can recieve messages but the SocketManager cannot.

Expected behavior Not 100% sure if this is the intended but I'd hope that if steam says a successful connection was made then hopefully it would let the connection manager recieve the messages.

Desktop (please complete the following information):