destroy player objects from the others scenes ondisconnect

Options
hello iam using pun2+ in multiplayer tps game its fine but if the player disconnected the player gameObject remaning intin the scenes for the others players.i tried OnPlayerLeftRoom(Player otherPlayer){ PhotonNetwork.DestroyPlayerObjects(otherPlayer) }.but dont work