SFML community forums

Help => Window => Topic started by: MJBrune on June 07, 2018, 10:26:13 am

Title: New to 2.5.0 DirectInput Crashes it seems with the Steam GameOverlay?
Post by: MJBrune on June 07, 2018, 10:26:13 am
So I recently upgraded to 2.5.0 and noticed that closing my game now ends with this: https://i.imgur.com/7RewYmi.png

Rolling back to 2.4.2 I notice other issues and I am upgrading from 2.3.2. Additionally this is of course windows only it seems.

I believe the core of it is the steam overlay calling the disconnection of a controller but. I don't even have a controller plugged in during these tests. Additionally and slightly unrelated but isn't directinput a bit old? Does SFML also have support for Xinput?
Title: Re: New to 2.5.0 DirectInput Crashes it seems with the Steam GameOverlay?
Post by: fallahn on June 07, 2018, 10:47:55 am
Sounds like this problem:

https://en.sfml-dev.org/forums/index.php?topic=23895.0

My solution was to change  the order in which SteamAPI is initialised (as mentioned near the bottom of the thread)