Exiting Room Bug

Options
I made an exit-confirmation dialog for my game, and I noticed if I tried to exit the application (pressing the X button at the top right of the window) Photon would leave the current room, despite me having blocked the exit. Any fix or am I doing something wrong here?

Comments

  • Hi @ZeroByter,

    you can try modifying the OnApplicationQuit callback implementation in the PhotonHandler class. Please note, that modifying PUN sources requires you to do the modification every time you are updating PUN itself from the Asset Store. You additionally have to check, if changing this behaviour might end in some unwanted behaviour.