We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Steamworks.SteamClient.Init fails on SteamDeck. It throws this exception:
Exception: SteamApi_Init failed with VersionMismatch - error: No m_api
To Reproduce Steps to reproduce the behavior:
using Steamworks; using UnityEngine; public class SteamManager : MonoBehaviour { private const int gameId = <game-id>; private void Awake() { try { SteamClient.Init(gameId); } catch(System.Exception e) { Debug.LogException(e); if (!Application.isEditor && !Debug.isDebugBuild) { Application.Quit(); } } } private void OnDestroy() { SteamClient.Shutdown(); } }
Calling Code
SteamClient.Init(gameId);
Expected behavior I expect SteamClient to initialize without throwing an exception.
Desktop (please complete the following information):
Additional context It works as expected on Windows. I also made sure Steam is up-to-date on the SteamDeck.
EDIT: I found additional information that may be related:
rlabrecque/Steamworks.NET#647 https://steamcommunity.com/groups/steamworks/discussions/27/4298194722196382031/
The text was updated successfully, but these errors were encountered:
garrynewman
No branches or pull requests
Describe the bug
Steamworks.SteamClient.Init fails on SteamDeck. It throws this exception:
Exception: SteamApi_Init failed with VersionMismatch - error: No m_api
To Reproduce
Steps to reproduce the behavior:
Calling Code
Expected behavior
I expect SteamClient to initialize without throwing an exception.
Desktop (please complete the following information):
Additional context
It works as expected on Windows. I also made sure Steam is up-to-date on the SteamDeck.
EDIT: I found additional information that may be related:
rlabrecque/Steamworks.NET#647
https://steamcommunity.com/groups/steamworks/discussions/27/4298194722196382031/
The text was updated successfully, but these errors were encountered: