Set custom room properties on application quit

Options
I was wondering if it is possible to set custom room properties on application quit before PhotonNetwork.Disconnect() is called.

The thing is that it seems to work. In LoadbalancingPeer.cs method OpSetPropertiesOfRoom is call ed. However clients do not seem to receive callback OnPhotonCustomRoomPropertiesChanged. I was wondering if it is expected behavior and if it is how come it looks like event has been sent without any issues?

Version of PUN - 1.79
Version of Unity - 5.3.5f1

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @ayamy,

    I do not think it is possible to do anything other than disconnect in OnApplicationQuit.
  • ayamy
    Options
    But shouldn't there be any warning or error then? That is the thing which confuses me the most.

    I mean if application unexpectedly closes there should be a way of leave room/hiding room/cleaning up expected users etc. Some of these actions internally are using custom room properties so then why it would not be possible?