Closed starsidecosmos closed 1 year ago
@starsidecosmos Can you screenshot the full error output from Godot please? Including any errors that may have occurred during the game startup.
What version of the steam api are you using? is_running_on_steam_deck
was added recently.
Just downloaded and reimported version 1.55 of the steamworks sdk.
@starsidecosmos If you check your steam_i.gd file, does it have this function? https://github.com/samsface/godot-steam-api/blob/743b413022e55309c6498b5143a25f8193217baf/addons/steam_api/steam_i.gd#L200
It does not.
I tried redownloading from the official repositories and it still doesn't appear. Perhaps the official repositories aren't updated yet?
@starsidecosmos I've just requested the latest commit be used on the Asset Library. Updating the Asset Library is a manual process so my take a few days. You could also try download the plugin directly from this repo: https://github.com/samsface/godot-steam-api/archive/refs/heads/master.zip
Thanks! I did that before opening the issue, but I must not have implemented it correctly.
I've currently found a solution by using Steam's built-in Steamdeck-only depots and a custom Steamdeck Godot export with a "steamdeck" feature tag.
Steam.utils.is_running_on_steam_deck() returns nonexistent function 'is_running_on_steam_deck' in base Reference() error and crashes the engine.
Perhaps the official Godot repositories are not updated yet? However, I did download a zipped version of the master and the same thing occurred.
For reference, I'm on Ubuntu 22.04.1 LTS. Steam is currently running in the background, but Godot is being launched via Itch.