Room does not support rejoing. PlayerTTL is 0

Options
Hi there! I'm using PhotonNetwork.ReconnectAndRejoin() to rejoin the room if the client was disconnected with timeout. But I get this error:
OnJoinRoomFailed(-3,Room does not support rejoing. PlayerTTL is 0).
I couldn't find any information about it. What does this error mean?

Thanks

Best Answer

Answers

  • Darya
    Darya
    Answer ✓
    Options
    Already figured out what was the problem
  • TuanPham
    Options
    Darya wrote: »
    Already figured out what was the problem

    Could you share me the problem?
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @TuanPham,

    Thank you for choosing Photon!

    You probably need to create rooms using RoomOptions.PlayerTtl with a value other than default 0.