# Steam Achievements Always Fail in Standalone

**URL:** <https://forums.unrealengine.com/t/steam-achievements-always-fail-in-standalone/423762>\
**Category:** Platform & Builds\
**Tags:** Steam, achievements, failure, unreal-engine, cache, question\
**Created:** [April 27, 2018, 7:46pm UTC](https://forums.unrealengine.com/t/steam-achievements-always-fail-in-standalone/423762 "2018-04-27T19:46:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScrapingBottom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ScrapingBottom](https://forums.unrealengine.com/u/ScrapingBottom)\
**Post date:** [April 27, 2018, 7:46pm UTC](https://forums.unrealengine.com/t/steam-achievements-always-fail-in-standalone/423762/1 "2018-04-27T19:46:46Z")

</div>

Hey there,

I see the Steam overlay appear when I run on standalone, however, whenever I attempt to cache achievements, it always fails.

Achievements worked without issue for my release on 4.15, but I’m running into issues with my existing code on 4.18. I’ve replicated this in a blank third person template project. I’ve followed the [Unreal tutorial for Steam achievements][1].

Here’s my blueprint that I’m running for the character.

 ![239081-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/8/31816b8fdd4ea8f6be71ab826b44a2f0e1b866f5.png)

And the results in standalone. When I run in PIE, the write is successful, but I don’t see the achievement trigger (which is unsurprising, I haven’t seen them work in PIE before).

 ![239068-standalone.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/4/4d47821f5c443770f4c15b5fd587c0329ce14aa6.jpeg)

 ![239069-overlay.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/6/946bdedbecf11fe2e4beaead691938ebbe0c5cee.png)

Here’s my DefaultEngine.ini, setup for Spacewar.

```
[URL]
GameName=MyProject

[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap
GameDefaultMap=/Game/ThirdPersonBP/Maps/ThirdPersonExampleMap
TransitionMap=
bUseSplitscreen=True
TwoPlayerSplitscreenLayout=Horizontal
ThreePlayerSplitscreenLayout=FavorTop
GlobalDefaultGameMode=/Game/ThirdPersonBP/Blueprints/ThirdPersonGameMode.ThirdPersonGameMode_C
GlobalDefaultServerGameMode=None

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
 
[OnlineSubsystem]
DefaultPlatformService=Steam
Achievement_0_Id="ACH_WIN_ONE_GAME"
Achievement_1_Id="ACH_WIN_100_GAMES"
Achievement_2_Id="ACH_TRAVEL_FAR_ACCUM"

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"    

```

Thank you for looking at my issue—Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ScrapingBottom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ScrapingBottom](https://forums.unrealengine.com/u/ScrapingBottom)\
**Post date:** [April 28, 2018, 6:15pm UTC](https://forums.unrealengine.com/t/steam-achievements-always-fail-in-standalone/423762/2 "2018-04-28T18:15:40Z")

</div>

I went through the same setup steps on another machine and managed to get things working successfully. The issue was that I had put the achievements under [OnlineSubsystem] versus [OnlineSubsystemSteam]

Here’s the important bit in DefaultEngine.ini:

```
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
  
[OnlineSubsystem]
DefaultPlatformService=Steam
 
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480
Achievement_0_Id="ACH_WIN_ONE_GAME"
Achievement_1_Id="ACH_WIN_100_GAMES"
Achievement_2_Id="ACH_TRAVEL_FAR_ACCUM"
 
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
```

---

<div class="post-metadata">

**Author:** ![KetherGame](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kethergame/32/912204_2.png) [@KetherGame](https://forums.unrealengine.com/u/KetherGame)\
**Post date:** [September 9, 2022, 10:08am UTC](https://forums.unrealengine.com/t/steam-achievements-always-fail-in-standalone/423762/3 "2022-09-09T10:08:50Z")

</div>

Why the Doc have no this part?

---

<div class="post-metadata">

**Author:** ![Oldmanriver1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oldmanriver1](https://forums.unrealengine.com/u/Oldmanriver1)\
**Post date:** [October 26, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/steam-achievements-always-fail-in-standalone/423762/4 "2024-10-26T14:59:59Z")

</div>

2024 here! Still relevant and important. This was driving me insane - thanks for posting the solution!
