Hello and thanks in advance for any help! I’ve recently re-imaged my machine to Windows10, have all SDK’s setup for C++ programming, Visual Studio 2017 and UE4 4.20 source build.
I’ve had Steam integration over a dozen projects in the past on win7 and havent had this problem, but i dont remember doing anything extra special other than the .ini customization for each project to load steam API into the project…
I cannot open Steam in any project that i work on, and my teammates open it just fine in the same project on their personal computers… so something is wrong with my computer settings and i dont know what…
I was reading Epics Wiki here and it says to do the below, but that wont compile and there is no .pch file any longer since like 4.16 if i remember right… so i reverted back to its old (source build default code):
Open OnlineSubsystemSteamPrivatePCH.h (being located in ..\..\Plugins\Online\OnlineSubsystemSteam\Source\Private\), where you'll find the following line of code, defining the root location of the Steamworks SDK:
<code class="language-cpp">#define STEAM_SDK_ROOT_PATH TEXT("Binaries/ThirdParty/Steamworks")</code>
You'll want to modify the line to read:
<code class="language-cpp">#define STEAM_SDK_VER TEXT("Steam[Current Version]")</code>
LogUWorks: Warning: Unable to retrieve a Steam identifier for this process. The Steam client may not be running.
LogUWorks: Warning: NetDriver will not handle connections via SteamIDs. Regular IP addresses must be used instead.
LogUWorks: Warning: Unable to listen for Steam connections.
I dont know much about c++ but I know a bit about blueprints, do you have project settings and plugins? If so then have you put the code for steam into your “Default Engine” located in “Config” of your project, copy and paste this:
After putting in the code restart your project and go into plugins, enable the Steam plugin and when you launch your game in “standalone” you should see the steam overlay at the bottom left, make sure you have logged into Steam.