Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

OnDisconnectedFromServer Rox!

Discussion in 'Multiplayer' started by JavaChilly, Jun 4, 2008.

  1. JavaChilly

    JavaChilly

    Joined:
    Mar 8, 2008
    Posts:
    33
    I'd just like to thank the Unity team for doing one very important thing right. OnDisconnectedFromServer is called when the game host user closes the browser tab or window. This makes some much needed cleanup work right. Thank you so much. :)

    I just wish it worked when they navigated to a new page too. Can certainly work around that with some javascript though.