I have Steam account on multiple PC devices. Through my Steam client i installed a game on these devices. My game code is trying to unlock some achievements. These are getting unlocked on one device but not on the other. I made sure I am in online mode when unlocking the achievements. Also the achievements in question are straightforward gameplay and dont read stored stats (which are particular to the device). So technically if a gameplay code is triggered, the achievements should be unlocked. Why are these achievements getting unlocked on one device and not the other, although they are installed from the same account? My unity code is:
if (SteamManager.Initialized) {
SteamUserStats.GetAchievement (achievementId, out isAchievementUnlocked);
if (!isAchievementUnlocked) {
SteamUserStats.SetAchievement (achievementId);
SteamUserStats.StoreStats ();
}
}