reconnect the room, when the person disconnect

Hello guys, can you help me, I have a problem: when the player who is not a room owner enters the room and loses connection, when reconnecting, ActorNr is changed, the first input is 2 , after reconnecting to 3, is there a way to change that client's ActorNr to 2 as the first time connecting (I did custom authen, but don't know how to set ActorNr to a value connect head)
0
Comments
please read this:
https://doc.photonengine.com/en-US/realtime/current/troubleshooting/faq/#how_to_quickly_rejoin_a_room_after_disconnection_
and take a look at this search results: https://doc.photonengine.com/en-US/search?p=realtime&v=current&addsearch=rejoin
In general, I would say that you need set PlayerTTL during game creation and then you have to use Rejoin once you want to rejoin. You do not have to set actorNr. you only should keep same userId
best,
ilya
Thank yoy for choosing Photon!
I want to add to my colleague @chvetsov's reply the following:
Another useful documentation section about Quick Rejoin feature.
Thank you very much for what I need here and it's great, I'm having a headache about this problem I can finally solve.
Thanks for your opinion,
let me ask if you use the reconnect method, you won't need to customize Authentication to check, right?
No, when you call Reconnect() or ReconnectAndRejoin() you don't need to touch the AuthValues or anything else.