Chykary / FizzySteamworks

A transport for Mirror using Steam / Steamworks.NET
283 stars 32 forks source link

Fix OnConnectionStatusChanged not being called on server builds #60

Open dylanpdx opened 1 month ago

dylanpdx commented 1 month ago

I encountered an issue where OnConnectionStatusChanged was not being called on a server build, which in turn caused incoming connections to not be accepted and time out.

It seems the reason for this is that server callbacks need to be registered with CreateGameServer instead of Create.

Once this change was made, OnConnectionStatusChanged is called properly, and the server can accept incoming connections.