Closed MoctezumaDev closed 4 months ago
Sounds like you're likely having Steam Overlay issues, or perhaps just not firing StoreStats
after giving achievements (this call causes achievements/stats updates to upload immediately).
Simple checklist:
SteamAPI.RestartAppIfNecessary
at startup so that if your game was run outside of Steam, it is shutdown and run from Steam instead (which runs the overlay in the process unless it has been disabled by user)SteamAPI.Init
at startup (after restart check)SteamAPI.RunCallbacks
(like from your Update cycle)SteamUserStats.SetAchievement
then SteamUserStats.StoreStats
when you want an achievement to pop (assuming the current user doesn't already have it)If you're doing this and the achievements still don't pop while you're in-game, try to open the overlay manually (Shift+Tab by default). If it does not come up, your game is almost certainly doing something to interfere with it.
Hi, I just was able to confirm the issue... I was missing the call to SteamUserStats.StoreStats.
Thanks for the clear check list. :)
I recently was playing a game and their achievements came on screen as overlay as I was getting them.
But in my current implementation with Steamworks.NET my achievements are granted but they only show up until I close the game.
I checked the documenation and the only thing that seems to be relevant is to be making a call to
SteamAPI.RunCallbacks();
Maybe I'm missing something.