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

# PlayFab Unified SDK

> Overview of the PlayFab Unified SDK v2 that consolidates Core, Services, Multiplayer, Party, and GameSave with unified authentication and token refresh.

The PlayFab Unified SDK is the next-generation development platform that consolidates all PlayFab client libraries into a single, cohesive product. It provides a consistent, streamlined integration experience across all PlayFab components, improving interoperability and simplifying client development.

## Overview

The standalone [PlayFab Services C/C++ SDK](/services/playfab/sdks/c) (released in 2023) introduced modern development practices such as automatic token refresh, improved memory management, and enhanced thread control. However, other standalone SDKs—like PlayFab Party and PlayFab Multiplayer—didn't adopt these improvements. The Unified SDK brings these components together into a cohesive, modernized SDK.

<Note>
  Existing PlayFab standalone SDKs (v1) remain supported, but we recommend the PlayFab Unified SDK (v2) for new projects.
</Note>

## Key benefits

The Unified SDK provides significant improvements over standalone SDKs:

* **Simplified integration**: Single SDK installation and update process eliminates the need to manage multiple SDK downloads and versions. On XBOX/Windows, the SDK is bundled with the GDK (starting with October 2025 GDK, version 2510).

* **Unified authentication**: Authentication is performed once through `PFAuthentication` APIs, with the resulting `PFEntityHandle` used across all components. Components automatically query the Core service for tokens internally, eliminating manual token passing and reducing integration errors.

* **Automatic token management**: Centralized token refresh logic automatically handles Entity Token renewal in the background, preventing session expiration during extended gameplay sessions.

* **Consistent programming model**: All components follow standardized patterns for initialization, API calls, error handling, asynchronous operations, and unified logging, significantly reducing the learning curve.

* **Advanced thread control and memory management**: All components support custom memory allocators and advanced thread control through `XTaskQueue` integration, enabling fine-grained control over resource allocation and threading behavior.

## Supported platforms and game engines

The following table shows platform and game engine support for the PlayFab Unified SDK:

| Platform                          | C/C++ SDK                                                    | C/C++ NuGet                                                                                   | Unreal Engine                                          | Unity                                                 |
| --------------------------------- | ------------------------------------------------------------ | --------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ----------------------------------------------------- |
| **Windows (PC and Handheld)**     | GDK 2510+                                                    | —                                                                                             | [GitHub](https://github.com/PlayFab/PlayFabSDK_Unreal) | [GitHub](https://github.com/PlayFab/PlayFabSDK_Unity) |
| **XBOX (One, Series S/X, Cloud)** | GDK 2510+                                                    | —                                                                                             | [GitHub](https://github.com/PlayFab/PlayFabSDK_Unreal) | [GitHub](https://github.com/PlayFab/PlayFabSDK_Unity) |
| **Steam Deck**                    | GDK 2510+                                                    | —                                                                                             | [GitHub](https://github.com/PlayFab/PlayFabSDK_Unreal) | [GitHub](https://github.com/PlayFab/PlayFabSDK_Unity) |
| **PlayStation®5** ¹               | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/PS5)     | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/PS5/_artifacts/feed/PS5GeneralV2)         | ¹                                                      | ¹                                                     |
| **PlayStation®4** ¹               | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/PS4)     | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/PS4/_artifacts/feed/PS4GeneralV2)         | ¹                                                      | ¹                                                     |
| **Nintendo Switch 2** ¹           | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/Switch2) | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/Switch2/_artifacts/feed/Switch2GeneralV2) | ¹                                                      | ¹                                                     |
| **Nintendo Switch** ¹             | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/Switch)  | [Azure DevOps](https://dev.azure.com/PlayFabPrivate/Switch/_artifacts/feed/SwitchGeneralV2)   | ¹                                                      | ¹                                                     |

<Note>
  Access to PlayStation® and Nintendo platform SDKs requires an NDA from the respective platform holder. See [Request access for SDKs and samples](/services/playfab/sdks/request-access-for-sdks-samples) for details.
</Note>

*"PlayStation" is a trademark of Sony Interactive Entertainment Inc.*

## Feature availability

The Unified SDK components ship together, but certain features might have limited or provisional availability on specific platforms in the current release. The following table summarizes feature readiness for this preview.

| Platform                          | Core      | Services  | GameSave            | Multiplayer (Lobby / Matchmaking) | Party Data | Party Voice |
| --------------------------------- | --------- | --------- | ------------------- | --------------------------------- | ---------- | ----------- |
| **Windows (PC and Handheld)**     | Supported | Supported | Supported           | Supported                         | Supported  | Supported   |
| **XBOX (One, Series S/X, Cloud)** | Supported | Supported | Supported           | Supported                         | Supported  | Supported   |
| **Steam Deck**                    | Supported | Supported | Supported           | Supported                         | Supported  | Supported   |
| **PlayStation®5**                 | Supported | Supported | Supported (Preview) | Supported                         | Supported  | Supported   |
| **PlayStation®4**                 | Supported | Supported | —                   | Supported                         | Supported  | Supported   |
| **Nintendo Switch 2**             | Supported | Supported | —                   | Supported                         | Supported  | Supported   |
| **Nintendo Switch**               | Supported | Supported | —                   | Supported                         | Supported  | Supported   |

A dash (—) indicates the feature isn't currently supported on that platform.

If you encounter a discrepancy between this table and observed behavior, file an issue through your PlayFab support channel so the product team can update documentation and address the gap.

## SDK components

The PlayFab Unified SDK features a modular architecture, allowing you to integrate only the components your project requires. On XBOX/Windows, the SDK is included with the Microsoft GDK installation. The SDK provides headers and binaries for the following components:

* **[libHttpClient](https://github.com/microsoft/libHttpClient)**: Cross-platform HTTP/WebSocket abstraction used by XBOX and PlayFab SDKs. Provides asynchronous APIs, memory management, and retry logic. Required by all SDK components. Optional integration with [XTaskQueue](/reference/system/xtaskqueue/xtaskqueue_members) for thread management.
* **[PlayFab Core](/services/playfab/sdks/playfab-sdk-intro)**: Foundational functionality for all PlayFab components. Handles authentication, entity management, configuration, telemetry, logging, and error handling.
* **[PlayFab Services](/services/playfab/sdks/playfab-sdk-intro)**: Shared services for LiveOps, economy, and progression.
* **[PlayFab Multiplayer](/services/playfab/multiplayer/lobby/lobby-matchmaking-sdks/lobby-matchmaking-sdks)**: Lobby creation and matchmaking services.
* **[PlayFab Party](/services/playfab/multiplayer/networking/party-sdks/overview)**: Low-latency, cross-platform voice, text chat, and data communication with optional Azure Cognitive Services integration for speech-to-text, text-to-speech, translation, and more.
* **[PlayFab GameSave](/services/playfab/player-progression/game-saves/overview)**: Cloud-based game save storage and synchronization for preserving player progress across devices and sessions.

## Development practices

The Unified SDK extends the modern development practices introduced in the 2023 [PlayFab Services C/C++ SDK](/services/playfab/sdks/c) across all components:

* [Asynchronous operations](/services/playfab/sdks/unified-sdk/async-model)
* [Memory management](/services/playfab/sdks/unified-sdk/memory-management)
* [Tracing and diagnostics](/services/playfab/sdks/unified-sdk/debug-trace)

## Versioning

The PlayFab Unified SDK follows [semantic versioning](https://semver.org/) principles, starting from version 2.0.0, ensuring predictable and consistent release management.


## Related topics

- [PlayFab Unified SDK Quickstart Setup](/services/playfab/sdks/unified-sdk/quickstart-setup.md)
- [Debug tracing in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/debug-trace.md)
- [Memory management in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/memory-management.md)
- [Migrate from PlayFab standalone SDK v1 to Unified SDK v2](/services/playfab/sdks/unified-sdk/migrating-from-v1.md)
- [Making async calls in the PlayFab Unified SDK](/services/playfab/sdks/unified-sdk/async-model.md)
