Hey all, thanks for the above postings. I feel like the forums have got me close. I’m using UE4.23.
I have same problem, can’t get Write Leaderboard Integer to do anything. Following youtube tuts I can get the Steam Username and unique player ID to print when running standalone in editor.
My C++ ability is nonexistent. I read that to implement the Advanced Sessions plugin it helps on a mac (yup, I’m on a mac) to create a blank C++ file. So I did that, and rebuilt the ue4 project in xcode. Then opened the project through the Epic Games Launcher. That’s the version I’m using in my attempt to get the game to talk to the Steam leaderboard.
I am running Steam before opening my project.
My in-game scoreboard Widget reads and prints my Steam username. I have a Steam app ID, as I release next week. I put that appID in the DefaultEngine.ini file, where tuts usually have the Spacewar “480”. So in the editor there’s enough communication with Steam to get the username and unique ID.
On Steam I set up a Steam Stat called CWScore_CWScore. The stat name in my Write Leaderboard Integer node is “CWScore”. I read somewhere else that firing that node creates the Leaderboard on Steam and makes the first entry. Didn’t happen for me.
So I created a Leaderboard on Steam’s Leaderboard page and called it “CWScore_CWScore”. Published it. Still couldn’t get a score from my game to the Leaderboard.
So I renamed the Steam Leaderboard to “CWScore”, published that, tried again. Same non result. Still won’t write to the Steam Leaderboard.
Do I need to cache achievements somewhere? (My game has no achievements.) Do I need to use a Start Advanced session node? I messed around with that with no result. Do you need any nodes in front of Write Leaderboard Integer to make that node able to do its job?
Maybe I need to put some actual C++ code in the blank .h and/or .cpp files? I’ve tried to cut and paste code into those files, and due to my ignorance, each time I do that and try to compile the project, if fails with errors I can’t decipher, and then I can’t reopen the project because I get “missing module” type errors". So I just trash it and get my backup …
Any assistance would be much appreciated. If I do need extra C++ code, please bear in mind that I will need pretty thorough instructions about which file(s) to copy them into with xcode, and any formatting necessary.