Go programs freeze when they are launhed via a Steam client
Hi,

We've found that a program written in Go language freezes when this is launched from a Steam client. Apparently `gameoverlayrenderer64`s `OverlayD3D3` does a trick which doesn't match with the Go runtime. This happens even when the Go program is just a console application.

Here is the details: https://github.com/golang/go/issues/71242

My Steam client version is 1733265492.

Related topics:
* https://steamcommunity.com/groups/steamworks/discussions/0/600767061860305373/

Thanks,
Last edited by hajimehoshi; Jan 13 @ 10:49pm
< >
Showing 1-1 of 1 comments
As a workaround, specifying `-ldflags="-X=runtime.godebugDefault=asyncpreemptoff=1"` works.

See also:
* https://github.com/hajimehoshi/ebiten/issues/3181
* https://ebitengine.org/en/documents/steam.html#Windows
< >
Showing 1-1 of 1 comments
Per page: 1530 50