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"

Steam integration unsuccessful

Hello there,

I followed this tutorial to test steam integration, but pressing the steam overlay won't show up, and if I get the player name it's my computers name instead of SpaceWar...My DefaultEngine.ini is here:

 [/Script/Engine.Engine]
 +ActiveGameNameRedirects=(OldGameName="TP_FirstPersonBP",NewGameName="/Script/steam_test")
 +ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPersonBP",NewGameName="/Script/steam_test")
 !NetDriverDefinitions=ClearArray
 +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
 
 [OnlineSubsystem]
 PollingIntervalInMs=20
 DefaultPlatformService=Steam
 VoiceNotificationDelta=0.2
 
 [OnlineSubsystemSteam]
 bEnabled=true
 SteamDevAppId=480
 SteamAppId=480
 GameServerQueryPort=27015 
 bRelaunchInSteam=false
 GameVersion=1.0.0.0
 bVACEnabled=1
 bAllowP2PPacketRelay=true  
 P2PConnectionTimeout=90
 Achievement_0_Id=""
 
 [/Script/OnlineSubsystemSteam.SteamNetDriver]
 NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
 

According to the tutorial this should do the trick. But since it didn't work I enabled the subsystem and util plugins in the editor aswell, but that didn't help either. The weird thing is that there is no Build.cs file in the Steamworks folder...Maybe that's the issue? I have no idea how to get it though. The version in the Steamworks folder is 139 while the newest seems to be 1.42. Does it matter? Sorry, but the documentation wasn't really helpful at all. This is a blueprint project and uses the UE 4.19.

I hope someone here can help me. Thanks in advance.

EDIT: is it possible that I need to actually run the steam application? Because then the overlay show's up for me with my personal account but with the game title SpaceWar.

Product Version: UE 4.19
Tags:
more ▼

asked Mar 27 '18 at 10:32 AM in Installation & Setup

avatar image

Natural Games
55 6 7 12

avatar image E.B.B. Mar 27 '18 at 11:43 AM

Yes, Steam must be running.

avatar image Natural Games Mar 27 '18 at 11:54 AM

Thanks! What about the Build.cs though? Is this only required for pure C++ projects or why isn't the file there? Because if I wanted to upgrade the version I'd have to change the version string in that file according to the documentation. And I can't seem to find this file anywhere else

avatar image E.B.B. Mar 27 '18 at 12:08 PM

Yes, they are build files for C++ projects. They will be generated, along with some other files, in a /Source/ folder as soon as you add a C++ Class to your project.

avatar image Natural Games Mar 27 '18 at 12:18 PM

No no, I don't mean the Build file for my project. I already added C++ classes to my project and tried to recompile it, but there is no build file for the steam sdk. Like, the documentation says it, but only if you use a different version. So I shouldn't be worried that there is no steam build file in my steamworks folder?

avatar image E.B.B. Mar 27 '18 at 12:20 PM

Ah, I see. That build file comes with the source version of the engine, if you clone it from GitHub.

I believe you will find it here: /UnrealEngine/Engine/Source/ThirdParty/Steamworks/

Edit: posted wrong link.

avatar image Natural Games Mar 27 '18 at 12:26 PM

Ahh alright. If I ever want to switch to another version, do I have to clone and recompile it first or can I just download that missing file and recompile it then?

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

0 answers: sort voted first
Be the first one to answer this question
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