When the player changes avatars the camera stops following them in the chat diorama
If the diorama isn't open or set, this is totally fine, and resets. However, if the player sets their avatar while the diorama is open, the diorama will remain on the old one and the chat window may not close.
The solution is to force the hups to close when the player changes their avatar. Ideally this is done with addEventListener('avatarchange') and applies to all players across the network, since it can also occur to remote players.
When the player changes avatars the camera stops following them in the chat diorama
If the diorama isn't open or set, this is totally fine, and resets. However, if the player sets their avatar while the diorama is open, the diorama will remain on the old one and the chat window may not close.
The solution is to force the hups to close when the player changes their avatar. Ideally this is done with addEventListener('avatarchange') and applies to all players across the network, since it can also occur to remote players.