> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OnNetworkChanged

> Reference for the OnNetworkChanged event on PlayFabMultiplayerManager in the Party Unity SDK, raised when the connected Party network's state changes.

Occurs when the Network changes. When this event fires you must move all the players to the new network, specified in the newNetworkID so the players can continue to communicate.

## Arguments

### sender (object)

The class that raised the event.

### newNetworkId (string)

The identifier for the new network.


## Related topics

- [Class PlayFabMultiplayerManager](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/index.md)
- [PartyNetworkDescriptorChangedStateChange](/services/playfab/multiplayer/networking/reference/structs/partynetworkdescriptorchangedstatechange.md)
- [XNetworkingConnectivityHintChangedCallback](/reference/networking/xnetworking/functions/xnetworkingconnectivityhintchangedcallback.md)
- [XNetworkingRegisterConnectivityHintChanged](/reference/networking/xnetworking/functions/xnetworkingregisterconnectivityhintchanged.md)
- [XNetworkingUnregisterConnectivityHintChanged](/reference/networking/xnetworking/functions/xnetworkingunregisterconnectivityhintchanged.md)
