20.2.0 SDK 1.57 not initializing on Steam Deck
See original GitHub issueAfter updating from 15.0.0 (Steamworks 1.49/05.92.36.75) to the latest version 20.2.0 (SDK 1.57/ 08.02.21.95), our game seems to no longer Initialize on Steam Deck.
According to the logs, we are only getting the [Steamworks.NET] SteamAPI_Init() failed. Refer to Valve's documentation or the comment above this line for more information.
error, but digging down deeper, the part of the initialization that it is failing on is in Steam.cs, line 316: m_pSteamUser = SteamClient.GetISteamUser(hSteamUser, hSteamPipe, Constants.STEAMUSER_INTERFACE_VERSION);
, which returns an IntPtr.Zero.
This issue seems to only happen on the Steam Deck, where running the exact same code on PC has no issues.
For reference, we are using Unity 2021.3.16f1, and tp upgrade, we completely removed our 15.0.0 code from the codebase, and added 20.2.0 into the game via Unity Package Manager. I did also notice that the steam_api64.dll is no longer in the root of the Steam Build Directory, and assuming that is intended as well (athough manually copying it into the Steam Deck install folder does not fix this issue)?
Any thoughts on what could be causing this issue?
Issue Analytics
- State:
- Created 3 months ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
Just as a heads up, after opening a support ticket with Steam, it seems like Steamworks SDK 1.57 will only work on Proton version 8.0 and higher, and does not support 7 or lower (it was posted above). This does not seem to be an issue with the Steamworks.Net plugin itself, and instead with the actual DLLs provided by Steam. I thought I would provide this as I couldn’t find any other information about this posted anywhere else on the Steamworks forums or patch notes.
As mentioned in the original comment, we had completly removed the old plugin from the project before moving to the Unity Package Manager version of the plugin.
It is as @trentburke mentioned, our game will work fine in Proton 8.0-2, and Experimental, but unfortunately not on the other versions. I did try asking on the Steamworks Forums if there was a way that we can set our default Proton version to use on Steam Deck, but I haven’t been successful finding a way on our end.