# Writing to Steam Leaderboard is not working

**URL:** <https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998>\
**Category:** Platform & Builds\
**Tags:** steamworks, leaderboard, unreal-engine, Blueprint, question, CPP\
**Created:** [October 16, 2019, 9:15am UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998 "2019-10-16T09:15:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nanashi88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nanashi88](https://forums.unrealengine.com/u/nanashi88)\
**Post date:** [October 16, 2019, 9:15am UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998/1 "2019-10-16T09:15:23Z")

</div>

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:

 ![290185-lb-bug-1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/e/57ee25293930bbd9b8132448506fc1938cacf3bc.jpeg)

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

 ![290186-lb-bug-2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/f/b9f27326cee8790ae0aaa552cb7b009311820ade.jpeg)

- 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

---

<div class="post-metadata">

**Author:** ![Jeff\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeff\_A](https://forums.unrealengine.com/u/Jeff_A)\
**Post date:** [October 16, 2019, 2:23pm UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998/2 "2019-10-16T14:23:17Z")

</div>

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/](https://epicsupport.force.com/unrealengine/s/)

Thanks

---

<div class="post-metadata">

**Author:** ![nanashi88](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nanashi88](https://forums.unrealengine.com/u/nanashi88)\
**Post date:** [October 17, 2019, 3:38am UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998/3 "2019-10-17T03:38:39Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![KrissKross09000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KrissKross09000](https://forums.unrealengine.com/u/KrissKross09000)\
**Post date:** [March 2, 2021, 9:41pm UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998/4 "2021-03-02T21:41:49Z")

</div>

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]:

---

<div class="post-metadata">

**Author:** ![Vahid](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vahid](https://forums.unrealengine.com/u/Vahid)\
**Post date:** [November 7, 2022, 5:59pm UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998/5 "2022-11-07T17:59:47Z")

</div>

> [@nanashi88](#):
>
> `: 0 Leaderboard: Score Score: 0' failed in 0.876683 seconds`

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

---

<div class="post-metadata">

**Author:** ![MetalHeadX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MetalHeadX](https://forums.unrealengine.com/u/MetalHeadX)\
**Post date:** [November 22, 2025, 6:12pm UTC](https://forums.unrealengine.com/t/writing-to-steam-leaderboard-is-not-working/456998/6 "2025-11-22T18:12:14Z")

</div>

I’m getting this problem too for UE5.3 and Steam. Were you able to solve this?
