ReJoinRoom not behaving as expected

Options
Hi guys,

I have some code to automatically rejoin a room in the event of an unexpected disconnect. Everything works fine, except when the player rejoins, it doesn't automatically update the other Player's object position like it does when the player first joins the room. Is there a way to automatically do this, as in when the Player first joins the room?

I am using simple PhotonView script on the objects which are observing themselves, and everything else works fine including positions being updated for the other player when the room is first joined.

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Slevin,

    I have some code to automatically rejoin a room in the event of an unexpected disconnect.


    This feature is already implemented in PUN.
    How do you "rejoin"? Maybe you're joining as new actor.
    Also FYI rejoin after room being closed can't completely restore the state in PUN.
  • I want to know how to rejoin in ue4 sdk, is there anyone help me?