It creates a leaderboard under my steamworks account titled ClassicMode! Hooray! I can rest assured that my game is linked to my steam app id properly.
HOWEVER, I can’t actually get it to add an entry. Using the SetIntStat (circled in red) I’ve tried “Score” “score” and a TON of other possibilities (so many attempts), but I can’t get it to write a value to the leaderboard. I’ve also tried int and int32 data types.
For reference, here’s the empty leaderboard created in my steamworks account:
Unfortunately, you’re not going to be able to do steam leaderboards in any decent capacity using blueprint OR UE4’s OnlineSubsystem - you have to go around it using native steam methods in C++
The reason is - using UE4’s OnlineSubsystem, there is no way to read an arbitrary range of scores (like the top 10) - you can only give it specific player IDs and see those scores. Also, UE4’s OnlineSubsystem is just riddled with issues for Leaderboards…
I found this article helped a lot for accessing native steamworks functions:
From here, I wrote some blueprint-callable methods using the “Leaderboards: How-To” article under the steam partner site. (It’s pretty much copy-paste)
Holy *** you just answered something I could NOT find after skimming every pages I could find. Not even Epic’s docs are mentioning this anywhere (or if it does it’s ■■■■ well hidden)… The StatName_StatName was what’s missing… thanks a lot !