x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Steam Achievements Always Fail in Standalone

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.

Here's my blueprint that I'm running for the character. alt text 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). alt text alt text

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.

Product Version: UE 4.18
Tags:
blueprint.png (341.2 kB)
standalone.png (830.0 kB)
overlay.png (199.4 kB)
more ▼

asked Apr 27 '18 at 07:46 PM in Blueprint Scripting

avatar image

ElChipacabra
136 3 9 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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"  
more ▼

answered Apr 28 '18 at 06:15 PM

avatar image

ElChipacabra
136 3 9 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question