> ## 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.

# PlayFabMultiplayerManager.Get().ResetParty

> Reference for PlayFabMultiplayerManager.ResetParty in the Party Unity SDK, which clears the Party state so the manager can be reinitialized for a new session.

# ResetParty

If PlayFabMultiplayerManager is connected to a network, then the object leaves the network. Moreover, cleans up and reinitializes all resources related to Party and the corresponding PlayFabMultiplayerManager object. If the object was connected to a network, attempts to reconnect to the same network.

## Syntax

```csharp theme={null}
public void PlayFabMultiplayerManager.Get().ResetParty();
```

### Parameters

None.

### Return value

None.

## Remarks

Under certain network conditions where connection can be sporadic, you may receive non-fatal errors while calling API such as:
SendChatMessage, SendChatMessageToAllPlayers, SendDataMessage, SendDataMessageToAllPlayers.

It is not recommended to call ResetParty API when the title receives non-fatal errors instead the title should wait for appropriate asynchronous callbacks from the library (such as OnNetworkLeft, OnRemotePlayerLeft) and take appropriate actions.

ResetParty should be used in an event when the title is unable to join an existing network with valid network descriptor or if the title is unable to create a new network.
The title should prevent a pattern where multiple clients call ResetParty simultaneously the title is experiencing errors related to Send\* APIs.


## Related topics

- [PlayFabMultiplayerManager.Get](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityget.md)
- [Class PlayFabMultiplayerManager](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/index.md)
- [PlayFabMultiplayerManager.Get().Resume](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityresume.md)
- [PlayFabMultiplayerManager.Get().Suspend](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysuspend.md)
- [PlayFabMultiplayerManager.Get().LeaveNetwork](/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityleavenetwork.md)
