Hey man, I came across this issue a while ago too. I was able to fix it by downloading the windows version, and running that through steam using the proton compatibility module(I know it seems backwards that in order to get it to run on linux, you need to download the windows version). The problem with the linux build of Crosscode is that it does not work with the Desktop compositing software that the Steam Deck is built on, and so it crashes as soon as any input from steam is recieved. I'm not sure if you're using the steam deck or not, but I imagine some other linux distros (or maybe just the steam linux app itself) use that same desktop compositing software.