com.unity.steamworks-api 1.0.0-pre.2

Preview

com.unity.steamworks-api

Source docs
Notes: processedReleased October 13, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Package Dependencies

No dependency metadata provided.

Features

  • `SteamDispatchMode` parameter on `SteamAPI.InitEx`/`Init` and `GameServer.InitEx`, to choose who reads each pipe's callbacks
  • `SteamCallbacks.RunFrameCallbacks`, `SubmitCallback` and `DeliverQueuedCallbacks`, for reading an `ExternalPoll` pipe on your own schedule

Improvements

  • Renamed namespaces from `Unity.Steam.Interop*` to `Unity.Steamworks.*`: `Unity.Steamworks.Interop`,
    `Unity.Steamworks.Runtime`, `Unity.Steamworks.Editor`, and matching test namespaces.
  • Renamed `SteamCallbacks.PumpIntervalMilliseconds` to `PollIntervalMilliseconds`

Features

  • New Steamworks SDK importer in **Project Settings > Steamworks**
  • Generated `SteamworksRuntimeSettings.cs` in its own `Unity.Steamworks.Settings` assembly under `Assets/Plugins/Steamworks/Settings`, exposing the configured app id to game code and calling `SteamAPI.RestartAppIfNecessary` at player startup when the `ENABLE_RESTART_STEAM_APP_HOOK` scripting define is set and an App Id is configured

Improvements

  • SDK importer now only pulls in necessary native libraries
  • `SteamworksSettings` and `SteamAppIdFileCreation` moved to `Unity.Steamworks.Editor`; settings are stored in `ProjectSettings/SteamworksSettings.asset` and no longer ship with a build
  • A missing SDK is reported in **Project Settings > Steamworks** and by a console warning on editor load listing each library's state
  • SDK detection recognizes a correctly configured Steam native library anywhere in the project, not just under `Assets/Plugins/Steamworks`
  • The editor logs when the SDK is imported or detected on load

API Changes

  • Public API for Steamworks SDK management has been removed
  • `Unity.Steamworks.Runtime.SteamworksSettings` and its `Resources` asset; read `SteamworksRuntimeSettings` instead
  • `CGameID.EGameIDType.k_EGameIDTypeP2P` and `CGameID.IsP2PFile`, which the SDK does not define
  • The `ISteamNetworkingConnectionSignaling`/`ISteamNetworkingSignalingRecvContext` structs, which could not work against Valve's library; `ConnectP2PCustomSignaling` and `ReceivedP2PCustomSignal` now take these objects as `IntPtr`

Bug Fixes

  • `SteamNetworkingConfigValue_t.SetString` tags the value as a string option, not a pointer
  • `gameserveritem_t` includes `m_nCurrentFriendCount` and `m_nTotalFriendCount`
  • `CGameID.AppID()` and `ModID()` match the SDK for shortcuts
  • `SteamNetworkingIPAddr` works as a `Dictionary`/`HashSet` key
  • `SteamNetworkingIdentity` getters no longer read memory the GC may have moved
  • Matchmaking response sinks no longer let an exception reach native code when disposed during a callback, and `AddFriendToList` reads its `bool` correctly under IL2CPP