You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on Steam network connectivity via Tryibion's Steamworks plugin, I discovered a problem with how the driver is working within Flax. It seems the implemented method for sending a message to multiple targets doesn't get invoked.
Peer code:
var message = localNetworkPeer.BeginSendMessage();
localNetworkPeer.EndSendMessage(channelType, message, networkConnections); // networkConnections is NetworkConnection[]
Along the way trying to diagnose the problem, I added the following code to attempt to hijack the call and discover how the parameters were being seen by putting this method in the driver:
It seems the code that prepares the NetworkConnection[] for this variant of SendMessage() has a bug, and thus the desired method doesn't get invoked.
Maybe worth noting: the other SendMessage() variants seem to be working properly.
Also worth noting, if I call the SendMessage() method with multiple targets directly on the driver, it works fine; it only fails when called through the NetworkPeer.