Writing to Steam Leaderboard is not working

Hi,
I am using UE 4.23 (release) (but it is not in options yet, so I chose UE 4.23 Preview).

Writing to Steam Leaderboard is not working niether using blueprints nor using c++ !

I have tested this in fresh project.

(btw, I have tested achievements to make sure it is not steam installing mistake, and achievements work fine.)

steps to regenerate the bug:

  • create new c++ empty project.
  • follow Epic tutorial to prepare the project to use steam (Online Subsystem Steam tutorial) (steam app id needed).
  • create empty level
  • add the following blueprint nodes in the level blue print:

expected: to get leaderboard entry of player with score 100
but unfortunately

Result:

  • it will create leaderboard with name Score (if wasn’t created before)
  • no entries were added to the leaderboard

  • LB flushed printed to screen twice, as it shows in the logs down here (expected to print once)

I get the following Error in the logs:

Warning: STEAM: Failure to write key value pair when uploading to Steam Score_Score=100

[2019.10.16-09.02.56:017][491]LogOnline: Verbose: OSS: Async task 'FOnlineAsyncTaskSteamRetrieveLeaderboard bWasSuccessful: 1' succeeded in 0.426501 seconds
[2019.10.16-09.02.56:456][518]LogOnline: Verbose: STEAM: FOnlineAsyncEventSteamStatsReceived bWasSuccessful: 1 User: **** Games [0x****] Result: '1' k_EResultOK (success)
[2019.10.16-09.02.56:456][518]LogOnlineLeaderboard: Warning: STEAM: Failure to write key value pair when uploading to Steam Score_Score=100
[2019.10.16-09.02.56:456][518]LogOnline: Warning: OSS: Async task 'FOnlineAsyncTaskSteamUpdateStats bWasSuccessful: 0 User: **** Games [0x******]' failed in 0.862701 seconds
[2019.10.16-09.02.56:472][519]LogOnline: Warning: OSS: Async task 'FOnlineAsyncTaskSteamUpdateLeaderboard bWasSuccessful: 0 Leaderboard: Score Score: 0' failed in 0.876683 seconds
[2019.10.16-09.02.56:537][523]LogOnline: Verbose: STEAM: FOnlineAsyncEventSteamStatsStored bWasSuccessful: 1 User: **** Games [0x*******] Result: '1' k_EResultOK (success)
[2019.10.16-09.02.56:585][526]LogOnline: Verbose: OSS: Async task 'FOnlineAsyncTaskSteamStoreStats SessionName: GameSession bWasSuccessful: 1' succeeded in 0.992555 seconds
[2019.10.16-09.02.56:606][526]LogBlueprintUserMessages: [Untitled_C_13] LB Flushed
[2019.10.16-09.02.56:756][526]LogOnline: Verbose: STEAM: FOnlineAsyncEventSteamStatsStored bWasSuccessful: 1 User: **** Games [0x*******] Result: '1' k_EResultOK (success)
[2019.10.16-09.02.56:757][526]LogSlate: Took 0.058660 seconds to synchronously load lazily loaded font '../../../Engine/Content/EngineFonts/Faces/RobotoRegular.ufont' (155K)
[2019.10.16-09.02.56:863][528]LogOnline: Verbose: OSS: Async task 'FOnlineAsyncTaskSteamStoreStats SessionName: MY_Game bWasSuccessful: 1' succeeded in 1.267485 seconds
[2019.10.16-09.02.56:999][528]LogBlueprintUserMessages: [Untitled_C_13] LB Flushed

the same bug exist using C++:

FOnlineLeaderboardWrite ResultsWriteObject;
ResultsWriteObject.LeaderboardNames.Add(TEXT("TestLB"));
ResultsWriteObject.SortMethod = ELeaderboardSort::Descending;
ResultsWriteObject.DisplayFormat = ELeaderboardFormat::Number;
ResultsWriteObject.UpdateMethod = ELeaderboardUpdateMethod::KeepBest;
ResultsWriteObject.SetIntStat(TEXT("Score"), 90);
ResultsWriteObject.RatedStat = TEXT("Score");

if(Leaderboards->WriteLeaderboards(TEXT("MY_GAME"), *UserId, ResultsWriteObject)) {
	Leaderboards->FlushLeaderboards(TEXT("MY_GAME"));
}

Thank you

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

I used that report system 3 times before for 3 different bugs, and I didn’t get any kind of feedback, I don’t even know if someone read my reports!
but ok, I will try it for the last time…

I read it [/][1], what do you think is it? I just want to start programming. This turns out to be more complicated than it might seem at first glance. It takes a lot of effort to do this, but I will try.

[1]:

Did you solve this problem? I have this problem too.
LogOnline: Warning: OSS: Async task 'FOnlineAsyncTaskSteamRetrieveLeaderboard bWasSuccessful: 0' failed in 0.406710 seconds