Why my function OnPlayerLeftRoom is never called ?

Hi !
I have a little problem. I made a scene called "waiting room" where all player who joined a same room are listed.
However, when a player quits the room, his prefab is'nt destroyed because the fnction OnPlayerLeftRoom is not called.
I don't understand why...
The player quits the room by clicking the a button that called LeaveRoom() function and make the player to go to title screen.

Can u help me to resolve my problem ?

Thanks for answers !

Answers

  • TobiasTobias admin
    When did you update PUN for the last time? Which version do you use?
    In PUN 2, leaving a room should always remove the objects locally.

    Or did you instantiate a scene/room object?
  • edited June 7
    Tobias wrote: »
    When did you update PUN for the last time? Which version do you use?
    In PUN 2, leaving a room should always remove the objects locally.

    Or did you instantiate a scene/room object?

    I use PUN 2 since february. I need to remove objects for all players, not only locally.
  • TobiasTobias admin
    Please answer the open questions, too.
Sign In or Register to comment.