Steam integration issues

I’ve been having issues with steam integration for over a week and I am completely lost.

  • Tried on 4.17.2 Source Build
  • Downloaded the zip from Github and built the engine.
  • Downloaded Advanced Sessions Plugin for 4.17.2 and copied the contents into the Engine/Plugins folder
  • Downloaded Steam sdk and copied it at the required location
  • Edited the build.cs file for adding dependencies*
  • Created a a new file at GameFolder/Source called GameNameServer.Target.cs**
  • Did all that deleting Binaries, Saved and Intermediate and regenerate project files.

At this point, the tutorial said I should build the project and that it’d generate four new server files in the Binaries/Win64 folder. Well I tried the entire process twice. The first time, the build succeeded, but I didn’t have any of those auto-generated server files. I tried the same process again from scratch, and got these errors:

  • The build.cs file:

using UnrealBuildTool;

public class PaintGame : ModuleRules
{
public PaintGame(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

	PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", "RHI", "AIModule", "RenderCore", "ShaderCore", "InputCore", "UMG", "PerfCounters" });

	PrivateDependencyModuleNames.AddRange(new string[] {  });

	// Uncomment if you are using Slate UI
	PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
    
    // Uncomment if you are using online features
    PrivateDependencyModuleNames.Add("OnlineSubsystem");

	// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
}

}

** The Server Target File:

using UnrealBuildTool;
using System.Collections.Generic;

public class PaintGameServerTarget : TargetRules
{
public PaintGameServerTarget(TargetInfo Target)
{
Type = TargetType.Server;
bUsesSteam = true;
ExtraModuleNames.Add(“PaintGame”);
}
}

  • After this, I thought I’d try on 4.18.3 (Source Build)
  • Project didb’t compile because DestructibleComponent has been moved
  • Fixed that, prjoect compiled on Visual Studio
  • Opened the uproject file, and got the Unreal Project Loading Banner, at which point I assumed that at least the project is opening on 18.3 now and I can move on to doing steam integration but it stopped at about 71% and gave this error:
    “the game module could not be loaded. There manybe an operating system error or the module may not be properly setup”

Looked around on the net and found a thread that said I was supposed to enable “Show loader snaps” in GFlags and this would apparently show more detailed logs ? Didn’t quite fully understand the entire process, but I did use GFlags to enable the said attribute, restarted the system and re-built the project on visual studio, this was the output log:
[link text][2]

So as of now, I can’t even run the project on 18.3.
I have no idea what’s going on and why I’m getting a different set of error which each trial. Any help would be greatly appreciated. Thanks !