Why do certain Steam achievements not work?

I followed this tutorial to get it working:

I also tried downloading the version of the SDK that Unreal Engine uses, but that didn't change anything.

I managed to get one achievement working, which I can also undo to get again, but as soon as I want to make it so I get another achievement it doesn’t work anymore.

This is my blueprint, the print string does fire, the achievements just don’t register:

http://i.imgur.com/FQwsQRl.png


So I found out that this works:

http://i.imgur.com/GVX56lH.png

But this one doesn’t:

http://i.imgur.com/FQwsQRl.png

How is that even possible?

Please help.

Is the issue steam integration or achievements?

I rephrased the question.

I also had an issue where achievements wouldn’t show to unlock. However after rebooting the application it would show as my latest achievement unlocked. I fixed it by queueing achievements and unlock them 1 by 1, making sure the subsystem was available to unlock an achievement (in code). Not sure if this is caused by a similar thing but it might help…

Here is a video of it, they all hit the succeed node but for some reason they don’t register to Steam:

https://drive.google.com/file/d/0B2UlKqRHB4gHam90WENCUHZxaTg/view?usp=sharing

if you open steam (shift tab) how many does it say there are unlocked there?

Because my game isn’t released yet I can’t access that page, but the ones that don’t unlock do not show as unlocked most recent.

Here are my achievements as listen in the defaultengine.ini file of my project:

Achievement_0_Id="NEW_ACHIEVEMENT_1_0"
Achievement_1_Id="NEW_ACHIEVEMENT_1_1"
Achievement_2_Id="NEW_ACHIEVEMENT_1_2"
Achievement_3_Id="NEW_ACHIEVEMENT_1_3"
Achievement_4_Id="NEW_ACHIEVEMENT_1_4"
Achievement_5_Id="NEW_ACHIEVEMENT_1_5"
Achievement_6_Id="NEW_ACHIEVEMENT_1_6"
Achievement_7_Id="NEW_ACHIEVEMENT_1_7"
Achievement_8_Id="NEW_ACHIEVEMENT_1_8"
Achievement_9_Id="NEW_ACHIEVEMENT_1_9"
Achievement_1_Id="NEW_ACHIEVEMENT_1_10"
Achievement_11_Id="NEW_ACHIEVEMENT_1_11"
Achievement_12_Id="NEW_ACHIEVEMENT_1_12"
Achievement_13_Id="NEW_ACHIEVEMENT_1_13"
Achievement_14_Id="NEW_ACHIEVEMENT_1_14"
Achievement_15_Id="NEW_ACHIEVEMENT_1_15"

I’ll assume you set everything up correctly since some are working. If you only try to unlock the ones that do not unlock now, does that work? Maybe steam will only handle 10 unlocks at 1 time (just a theory)

No, if I only do the ones that don’t unlock nothing happens, they succeed but don’t show up as unlocked.

If you shift tab you can also see the number of achievements unlocked (e.g. 10/16 achievements). Could you confirm this is at 0 when you try to unlock them? If so, I have no idea what is wrong.

It shows 10 out of 16:

http://i.imgur.com/TzmqOhI.png

Hey MrGoatsy,

I’ve spent some time testing this using the default 480 app ID and its achievements and it seems to be working as expected.

As a result, I’ll need more information regarding this:

  • Have you been able to reproduce this issue in a clean project?
  • What steps can we take to reproduce the issue on our end?
  • Could you please provide the logs from your project’s Saved->Logs folder after testing this so I can see if there are any hints in there?

Thanks

The default app ID works fine for me as well, so that is weird.

  1. I have been able to reproduce it in a clean project.
  2. I have to send you my .ini file, I rather not have it public.

2.5. This is the blueprint for it, the array contains the achievement names, it doesn’t matter if just fill in the names manually instead of use an array for them, both work won’t:

http://i.imgur.com/dYW4c7N.png

  1. Here are the logs, I have it print out if it succeeds, which it does although it doesn’t register to Steam even though the node says it does: Log file open, 04/13/17 19:24:49LogInit:Display: Running engine for game: Subj - Pastebin.com

What happens if you just write one achievement per key press instead of attempting to write all of them in one function? I have a feeling that the issue could lie in attempting to unlock multiple achievements at once.

Try splitting this up into a few different key presses and see if you still experience the same error.

I already tried that, that didn’t work either.
In every case, if I deactivate them and activate them again these achievements work:

Achievement_0_Id="NEW_ACHIEVEMENT_1_0"
Achievement_2_Id="NEW_ACHIEVEMENT_1_2"
Achievement_3_Id="NEW_ACHIEVEMENT_1_3"
Achievement_4_Id="NEW_ACHIEVEMENT_1_4"
Achievement_5_Id="NEW_ACHIEVEMENT_1_5"
Achievement_6_Id="NEW_ACHIEVEMENT_1_6"
Achievement_7_Id="NEW_ACHIEVEMENT_1_7"
Achievement_8_Id="NEW_ACHIEVEMENT_1_8"
Achievement_9_Id="NEW_ACHIEVEMENT_1_9"

While these don’t:

Achievement_1_Id="NEW_ACHIEVEMENT_1_1"
Achievement_11_Id="NEW_ACHIEVEMENT_1_11"
Achievement_12_Id="NEW_ACHIEVEMENT_1_12"
Achievement_13_Id="NEW_ACHIEVEMENT_1_13"
Achievement_14_Id="NEW_ACHIEVEMENT_1_14"
Achievement_15_Id="NEW_ACHIEVEMENT_1_15" 

I did not forget to publish the changes to Steam.

Here is what happens when I activate them:

https://drive.google.com/file/d/0B2UlKqRHB4gHam90WENCUHZxaTg/view?usp=sharing

As you can see these activate based on the text in the icon:

?
2
3
4
5
6
7
8
9
10

Here is an empty project with the achievement system, if you play as a standalone game and press k you should get an achievement, but if you set it to one of the above mentioned values which don’t work nothing happens even though the success pin fires:

The achievement blueprints are in the characterbp.

I’ve attempted to test this using the project you provided, but I’m not seeing any achievements get granted. All I see is the message being printed to the screen, and this is working regardless of which achievement ID I use. However, I never actually get the Steam popup that shows an achievement is unlocked. Is this expected? Is there something I may be overlooking when testing this?

I changed them back again, here are my settings:

http://i.imgur.com/nQrCuE0.png

The message should only print to the screen if the achievement registers, which it doesn’t.

In my tests, the message was printed to the screen regardless of which achievement I used. Is this the expected behavior? It seems like they’re successfully getting written based on the fact that they are printing the achievement name to the screen. However, since the steam overlay is not appearing I’m unable to see if they are actually being unlocked or not. Is this expected in your project as well? Are you seeing the overlay on your end?