Avatar controls given to others when a user leaves.

I have a photon room setup, and after a user joins, they network instantiate an Avatar they control. Strangely, when a user leaves the room - most commonly via quitting the app or turning off the headset - their avatar isn't destroyed (it should be when they leave) and the next user in the player list takes control of their rotation.

I've been looking into ways to check if the controlling player still exists, and if not destroy it. Or having the master destroy the object if it still exists when a player leaves, but no luck so far.

Any suggestions?

Answers

Sign In or Register to comment.