Steam integration overlay

Nothing on this?

Hey guys, im trying to implement steam overlay by following this guide

But when i try to rebuild the project, i get these bCompileSteamOSS errors

i have added the nessesarry files to the binaries/win64 from the steam folder and steam sdk.

Still a problem, havent found any solution to this!

What does your project.target.cs and project.build.cs look like?

Project.target.cs

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;
using System.Collections.Generic;

public class ProjectTarget : TargetRules
{
	public ProjectTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Game;

		ExtraModuleNames.AddRange( new string[] { "Project" } );

        UEBuildConfiguration.bCompileSteamOSS = true;
    }
}

Project.build.cs

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;

public class Project : ModuleRules
{
	public Project(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });

		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");
        PrivateDependencyModuleNames.Add("OnlineSubsystemNull");
        if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Linux))
        {
            if (UEBuildConfiguration.bCompileSteamOSS == true)
            {
                DynamicallyLoadedModuleNames.Add("OnlineSubs" +
                    "ystemSteam");
            }
        }
        // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
    }
}

Added alot

That guide is quite outdated, UEBuildConfiguration.bCompileSteamOSS is no longer used. In your project.target.cs, replace it with bUsesSteam = true;

That solved my problem, but my new problem is now
ModuleManager: Module ‘OnlineSubsystemSteam’ not found - its StaticallyLinkedModuleInitializers function is null

I have added DynamicallyLoadedModuleNames.Add(“OnlineSubsystemSteam”);
To the build.cs
Didint fix it.
I found nothing that has helped on google, forums or answerhub!

In your build.cs add AddEngineThirdPartyPrivateStaticDependencies(Target, “Steamworks”);

you are a hero