PunRPC doesnt work after ReconnectAndRejoin
Options
Hello, In my card game, there are 4 players in the game.
The first player is founder of the game (master) and AI bots are managed by him whole game. if one join room, a bot leaves or a player left, a bot joins the game. I m just using PunRPC to transfer datas. I was using PUN classic. I was having disconnection problems and now i migrated PUN to PUN 2. With this migration, I also wanted to handle disconnection issues and trying reconnectandrejoin players who are disconnected. In my tests, I successfully rejoin a client after DC but if founder (master) disconnects and rejoin "host migration" occurs. It is not affecting me in the game because I have never used master client preferences. I m just using actor numbers. Although masterclient's actor number is 1 after disconnection i cant send data from masterclient (old) to others.
Can you help me about this?
thanks
The first player is founder of the game (master) and AI bots are managed by him whole game. if one join room, a bot leaves or a player left, a bot joins the game. I m just using PunRPC to transfer datas. I was using PUN classic. I was having disconnection problems and now i migrated PUN to PUN 2. With this migration, I also wanted to handle disconnection issues and trying reconnectandrejoin players who are disconnected. In my tests, I successfully rejoin a client after DC but if founder (master) disconnects and rejoin "host migration" occurs. It is not affecting me in the game because I have never used master client preferences. I m just using actor numbers. Although masterclient's actor number is 1 after disconnection i cant send data from masterclient (old) to others.
Can you help me about this?
thanks
0