cancel
Showing results for 
Search instead for 
Did you mean: 

UE4 Achievements - Empty Progress Array

adamsmith
Honored Guest
I'm working on a title for the Rift using UE4, and we're in the midst of adding achievements. I added a single achievement through the dashboard, and a simple blueprint to activate the achievement. I set it for Client Authoritative and marked the achievement as secret.

Upon activation, there's a call to ovr_AchievementProgressArray_GetSize, and it always returns 0. Even if the player has never made any attempt to unlock this achievement, it should still return an array of achievements even though the progress is 0 correct? 
3 REPLIES 3

adamsmith
Honored Guest



Upon activation, there's a call
to ovr_AchievementProgressArray_GetSize, and it always returns 0. Even
if the player has never made any attempt to unlock this achievement, it
should still return an array of achievements even though the progress is
0 correct? 

This is correct.

Sorry for the delayed response.




I'm confused. Which part is correct? The size should be 0, or it should return the array of progress?

juanoldinho
Heroic Explorer
If you have a Simple achievement that is Secret and it has not been achieved it will not be included in the AchievementProgressArray.


Please tag me, @juanoldinho, in your forum post/response if you need immediate assistance or want additional support or context on an issue you are having with our software or integrations.

Having an issue with our platform, services, or integrations?

Try using our new bug tool to report this and receive emailed updates as we proceed to address it internally.

charles_beyer
Protege
adamsmith,

It sounds like you are looking for the list of achievements that are available, even if the user has made no progress towards them.  In that case, you should should compile that list into your executable since it is known ahead of time.  The API to get the achievement progress for a user is designed to return only achievements they've made progress towards - information that cannot be baked into your App.  Does that make sense?

-Charles