com.unity.microsoft.gdk 1.4.5
Notes: processedReleased September 19, 2025
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 2021.3
Package Dependencies
- com.unity.microsoft.gdk.discovery (1.1.0)
Features
- Changed the way the GDK SDK is discovered. Now uses the `com.unity.microsoft.gdk.discovery` package.
- Support for using Microsoft Game Development Kit (GDK) without install. See package documentation.
- Support for user specified GDK Edition (Windows Standalone platform only):
- Added a `GdkEdition.json` file to the `Assets/Plugins/GDK` path. This file tracks the GDK Edition from which the GDK assembles originated. Changing the edition number in this file will cause a re-import of the GDK Assemblies.
- Added `SDK.GetGdkEdition` to query the selected edition at runtime. This relies on an auto generated `GDKEdition.asset` being included in the `Resources/GDKEditionAutoGen` path (automatically removed from the project post build).
- Added GDK support for Play Mode, allowing developers to test their Xbox integration features directly within the editor (see known issues below).
Bug Fixes
- Fix pinvoke DllImportAttribute name for libHttpClient.GDK.dll apis and ensure the DLL is available for the active GDK.
- Fix missing SafeHandle support for HCWebsocketHandle
- Fix XblSocialManagerUser and XblSocialRelationship to support new member 'isFriend' for GDK versions later than October 2024 GDK. Earlier versions will also include the member but it will be set to false by default.
Improvements
- Updated for the `April 25 (250400)` release of the Microsoft GDK
- Modified the samples to no longer use Awaitables (on 6.0 or newer) and asynchronous Tasks (in older versions of Unity). For Awaitables, this is because they are dependent on the Time.timeScale setting, so the Awaitable.WaitForSecondsAsync call could take more than the specified time. For C# asynchronous Tasks, the worry is that because Tasks are a reference type, using them in the tight while loop to await for 32ms means a new Task object is created every iteration and needs to then be garbage collected once it is no longer used.
API Changes
- Removed old GDK SDK discovery code.
Known Issues
- Under some circumstances the GDK runtime services may fail to initialize. If you are editing or switching the `Microsoft Game Config` settings or changing the active GDK Settings between in-editor play sessions and experience errors it may be necessary to restart the editor.
