Hello, I'm trying to run my game from the editor (on linux) and I'd like to use the overlay, is there a way to get steam to bind the overlay from the editor? From what I've read the game actually has to call steaminit before the context is created, but afaik this is not possible in godot?
As in bind the buttons to open overlay? Or are you saying that overlay does not open when running the game from the editor? If it isn't opening, that is most likely a bug of some sorts.
This is on Linux, maybe on windows it works, yes the overlay isn't hooking into the game at all.
Hmm, that sounds like a bug to me. It should just work automatically. I will investigate, thanks for letting me know!
:+1:
Still investigating this issue and should have tested when I did the cross-platform compiling but will do so tomorrow!
Can confirm that overlay does not work. Not exactly sure why that is because everything else works. I'll see what I can figure out!
Do you get this warning in the editor output or when you run the editor from terminal?
WARNING: initialize: XOpenIM failed
At: platform/x11/os_x11.cpp:198.
WARNING: initialize: XCreateIC couldn't create xic
At: platform/x11/os_x11.cpp:500.
This is the very first thing that displays and I wonder if this has something to do with Steam overlay not working anymore.
Do you get this warning in the editor output or when you run the editor from terminal?
WARNING: initialize: XOpenIM failed At: platform/x11/os_x11.cpp:198. WARNING: initialize: XCreateIC couldn't create xic At: platform/x11/os_x11.cpp:500.This is the very first thing that displays and I wonder if this has something to do with Steam overlay not working anymore.
No, this message does not appear for me.
Hmm, thought it might be related but perhaps not. Thanks for the reply!
@Gramps I was looking at valve's documentation, and this seems to be related:

https://partner.steamgames.com/doc/store/application/platforms/linux
By gum, you may be onto something! I'll try it out later today. I don't remember having to do this previously but I may be misremembering.
OK, when I run that in terminal, I have to do them separately or it'll segfault. Additionally you can also have your game run a .sh script to do it first before starting the game; I've seen others do something like that.
Perfect, problem solved then.