How can I remove a player's prefab on Disconnect() ?

I using webhooks so I need EmptyRoomTTL = 0 and PlayerTTL = -1.
I using Disconnect instead LeaveRoom.

After player disconnect his prefab is still in room. How can I destroy him for others and for him ? On rejoining there is some photonView ID conflicts.

I know about PhotonNetwork.Destroy, tried to use it but it does not works.


Sign In or Register to comment.