# Steam Achievement not unlocking

**URL:** <https://forums.unrealengine.com/t/steam-achievement-not-unlocking/1859363>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [May 16, 2024, 8:33pm UTC](https://forums.unrealengine.com/t/steam-achievement-not-unlocking/1859363 "2024-05-16T20:33:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gespinoza-qubyte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gespinoza-qubyte](https://forums.unrealengine.com/u/gespinoza-qubyte)\
**Post date:** [May 16, 2024, 8:33pm UTC](https://forums.unrealengine.com/t/steam-achievement-not-unlocking/1859363/1 "2024-05-16T20:33:37Z")

</div>

I’m struggling to unlock my achievement through Steam. I have everything setup according to almost all tutorial on this Forum. My Overlay is working. The achievement its calling right since I have the same game approved by other platforms as Playstation and Xbox, where the achievement unlocking is a requirement and the interface call are the same for both platforms.

I’m using:

- Unreal 4.27+ (Compiled against the engine, this game was developed to console too)
- Steamv151 (steam\_api64.dll)

On my DefaultEngine.ini I have:

[/Script/Engine.GameEngine]  
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)

[OnlineSubsystem]  
DefaultPlatformService=Steam

[/Script/OnlineSubsystemSteam.SteamNetDriver]  
NetConnectionClassName=“OnlineSubsystemSteam.SteamNetConnection”

[OnlineSubsystemSteam]  
bEnabled=True  
SteamDevAppId=MY\_STEAM\_APP\_ID  
SteamAppId=MY\_STEAM\_APP\_ID  
Achievement\_0\_Id=AAA  
Achievement\_1\_Id=BBB  
Achievement\_2\_Id=CCC

- I using both SteamAppId and SteamDevAppId since on the forum’s tutorial they mentioned SteamDevAppID, but if I go to look on the OnlineSubsystemSteam class doesn’t have a SteamDevAppId variable, only SteamAppId. So I decided to use both just in case.

On the Steamworks Portal I have the same achievements. The ID is right, I checked a lot of times, used CTRL + F, just to be sure. They are the same and without space before and/or after. I published twice, did a fake edition just to guarantee that everything were updated.

I’m calling the SteamAPI\_Init when my module load and on Tick calling SteamAPI\_RunCallbacks.

On my PROJECTNAME.Build.cs I added the line: DynamicallyLoadedModuleNames.Add(“OnlineSubsystemSteam”);

- I tried with this line commented out but still failed.

I attached Visual Studio to a development build and could check that functions on OnlineAchievementsInterfaceSteam, class responsible for calling Steam SDK APIs, its being called and the callbacks are being triggered. The outcome from this callbacks are being Succesful to OnWriteAchievementsComplete and I have a screen log that also shows me that.

This debugging method was done to build that was not uploaded to Steam. The Steam\_Appid.txt adds to the project and when I start the game from build, it is being created with the right ID.

I uploaded the same build to steam from SteamPipeGUI and downloaded directly from steam, and this development build also haven’t unlocked achievements.

Did the same for Shipping build. it Failed.

The tutorial I followed was:

- [Online Subsystem Steam Interface In Unreal Engine | Unreal Engine 5.4 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/online-subsystem-steam-interface-in-unreal-engine?application_version=5.4)

- [Steam achievements implementation for UE4 developers: tips and tricks.](https://forums.unrealengine.com/t/steam-achievements-implementation-for-ue4-developers-tips-and-tricks/106848)

- [Issue with Actually Writing Steam Achievements in 4.26](https://forums.unrealengine.com/t/issue-with-actually-writing-steam-achievements-in-4-26/488038)
