steamworks-defold icon indicating copy to clipboard operation
steamworks-defold copied to clipboard

steamworks.utils_is_overlay_enabled() always true

Open benjames-171 opened this issue 3 years ago • 2 comments
trafficstars

I want to pause my game when the player opens the Steam overlay.

The function steamworks.utils_is_overlay_enabled() seems to always returns 'true' so I can't detect when this is happening.

benjames-171 avatar Dec 20 '21 22:12 benjames-171

The documentation says that:

"The overlay process could take a few seconds to start & hook the game process, so this function will initially return false while the overlay is loading."

https://partner.steamgames.com/doc/api/ISteamUtils#IsOverlayEnabled

But it seems like you are experiencing the opposite and that it always returns true.

@subsoap are you using steamworks.utils_is_overlay_enabled() in your code?

britzl avatar Dec 22 '21 10:12 britzl

@britzl at the moment we do not.

subsoap avatar Dec 22 '21 19:12 subsoap