So my previous test was on Ubuntu, but I just tested it on Steam Deck with a similar result… only difference is the crash log mentioned libc.so.6 instead of libpthread.so.0.
I also bought @Alex_8BitSkull’s Void Scrappers just to check the Linux files downloaded, and they’re the exact same as mine as far as I can tell (besides the executable name of course.)
I wish there was an easier way to see crash details… the log isn’t giving me much.
/home/klayton/Documents/Defold/projects/game-cx6/build/x86_64-linux/dmengine: error while loading shared libraries: libsdkencryptedappticket.so: cannot open shared object file: No such file or directory
@Mathias_Westerdahl Is there a known way to launch the game in the editor? If I can fix this, maybe that’ll solve the problem with the release build as well.
Regarding the release bundle, I followed the steps in the ticket then used ldd on the binary, it found the library paths:
We have currently no way of setting the correct library paths before loading your executable from the editor, you need to do that yourself at this moment.
One way to debug your app is to run it through a debugger. E.g. lldbor gdb.
That should likely give you a better callstack.
Aha! Found the issue. @britzl I am using one or two new features in the dev-update-to-1.55 branch of the steamworks extension. This is what causes the segmentation fault crash. After swapping to master, the game successfully launches. I suppose this branch hasn’t been used by anybody yet for release?
That is probably true. The update to SDK 1.55 is not complete yet. The whole Steamworks extension is a mess, or rather the API definitions provided by Steam makes it really hard to auto-generate a Lua API. I’ve been thinking of creating a new version of the extension by hand.
This would be great. I think it is very important to have a solid and up-to-date Steamworks extension since it is so important for release. It really has been horrible and buggy so far.
If you decide to restart, please let me know so I can contribute to whatever foundation you make!