Error: Invalid MainLoop script base type

Godot Version

4.5.1.stable.steam

Question

Hello! I’m having a bit of a weird issue concerning the demo build of my game on Steam.

The game launches fine on Linux, however, when launching:

  • specifically through Steam
  • specifically on the Demo version of the game

I get this error: "Error: Invalid MainLoop script base type".

It’s a bit hard to diagnose what the issue is when the game isn’t printing logs since it seems to happen directly as the game is launching. And it’s even more odd that the issue only occurs when launching through Steam, and that it runs fine otherwise (eg: if you go to the game’s install directory and launch the .86_64 directly it works fine)

Is there any SteamAPI thing or things that Steam do on Linux specifically that might cause errors on launch that I should look out for? The same build of the game but non-demo steamappid works seemingly fine. Is there a thing that Steam does for released titles (eg: demo version of a game) that it doesn’t for pre-launch games?

See pics for more details about the game loop setup, which is made to hook into Sentry.io’s error logging addon. Any pointers would help! Thanks!

I seem to have figured out the issue: on Steamworks, the Linux Runtime was missing a mapping, adding one seemed to fix the issue!