PUN events no longer received with new master client

Options
Hi,
I'm using master client to handle all the bots in my multiplayer game. I use PUN events to send data to all other clients regarding all the actions the bots take. So far so good.
When the master clients disconnects, the new master client takes over the bots and continues telling clients what these do.

However, there is a delay since the old master client disconnected and the events from the new master client arrive to all other clients, resulting in bots on clients not doing anything for long periods of time (sometimes minutes). After this delay, all communication is running as intented as if the new master client has been accepted by the rest of the clients.

Is this the normal behaviour, or should I do something on the clients to accept the new master client?

I am using PUN version 1.74

Comments

  • Scarecrow
    Options
    Found the problem...

    RaiseEventOptions opts = RaiseEventOptions.Default; opts.Receivers = ReceiverGroup.MasterClient;

    If you could make it harder for idiots like me to accidentaly modify default options.... that'd be great!