Xbox¶
Platform-specific layer for Xbox Series X|S and Xbox One. Provides connected-storage saves through IFileSystem and an Achievements API on top of the Microsoft Game Core stack.
Setup¶
Install the following packages through Package Manager:
- com.unity.microsoft.gdk
- com.unity.microsoft.gdk.tools
- com.unity.inputsystem.gxdk
- com.unity.microsoft.gdk.tools.xbox
- com.unity.render-pipelines.gamecore
Info
You can find all required packages on the Unity Discussions forum. A Unity Pro license is required.
Warning
Make sure all packages use versions compatible with your installed Microsoft GDK release.
Check that all UpscaleSDK.Platfrom.Xbox assembly references are configured correctly.
Achievements¶
XboxAchievements is the Xbox-side player-award API. Achievement IDs map to the values you configured for your title in Partner Center.
Unlocking¶
Saves¶
Xbox uses connected-storage containers, configured through SavesSettings.XboxContainerName (see Manual → Saves → Configuration). Game code talks to the cross-platform UPSSaves.Prefs / UPSSaves.Saver APIs — there's nothing Xbox-specific to call from your side.