Steam API disabled! shipping version is server and client at same time?

Hi guys,

In the last 4 days I searched in every post, every tutorial, every wiki, doc or something,
but nobody knows whats happening.

I follow step-by-step this tutorial:

changing DefaultEngine.ini properly

[/Script/Engine.GameEngine] !NetDriverDefinitions=ClearArray +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystem.IpNetDriver") [OnlineSubsystem] ;DefaultPlatformService=Null DefaultPlatformService=Steam PollingIntervalInMs=20 [OnlineSubsystemSteam] bEnableSteam=True bEnabled=True SteamAppId=378930 SteamDevAppId=378930 GameServerQueryPort=27015 bRelaunchInSteam=False P2PConnectionTimeout=90 bAllowP2PPacketRelay=True bVACEnabled=1 GameVersion=1.0.0.0 Achievement_0_Id="ACH_DIE_ONE_TIME" ;others archievements removed [OnlineSubsystemNull] Achievement_0_Id=ACH_DIE_ONE_TIME Achievement_0_bIsHidden=false Achievement_0_Title="First Blood" Achievement_0_LockedDesc="This Archievement is not for you. Thanks Oblivion. Die a first time." Achievement_0_UnlockedDesc="Die a first time" ;others archievements removed [/Script/OnlineSubsystemSteam.SteamNetDriver] NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection" 

Game.Build.cs

PrivateDependencyModuleNames.Add("OnlineSubsystem"); if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64)) { UEBuildConfiguration.bCompileSteamOSS = true; if (UEBuildConfiguration.bCompileSteamOSS == true)	{	DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");	} } 

Game.Target.cs

in construct method added

bUsesSteam = true; 

And in Standalone Game steam works fine.

But in shipping build show this message:

UE4Editor-Cmd: [2016.01.05-04.25.23:668][ 0]LogOnline:Display: STEAM: Loading Steam SDK 1.32 UE4Editor-Cmd: [2016.01.05-04.25.23:668][ 0]LogOnline:Warning: STEAM: check if steam api is enabled UE4Editor-Cmd: [2016.01.05-04.25.23:871][ 0]LogOnline:Warning: STEAM: Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable. UE4Editor-Cmd: [2016.01.05-04.25.23:872][ 0]LogOnline:Display: STEAM: OnlineSubsystemSteam::Shutdown() 

Failed to initialize Steam, this could be due to a Steam server and client running on the same machine. Try running with -NOSTEAM on the cmdline to disable.

How can I set my game is only a Game without Server?

I’m compiling in a WindowsNoEditor mode, following this steps:

My engine version is 4.10.2 from github.

PLEASE EPIC A LITTLE HELP HERE.

my game is this: Pesadelo - Regressão on Steam

Addicional information.

im my game.target.cs is set to Game, not server or client.
Type = TargetType.Game;

using UnrealBuildTool; using System.Collections.Generic; public class ProjectPesadeloTarget : TargetRules {	public ProjectPesadeloTarget(TargetInfo Target)	{	Type = TargetType.Game;	bUsesSteam = true;	}	//	// TargetRules interface.	//	public override void SetupBinaries(	TargetInfo Target,	ref List<UEBuildBinaryConfiguration> OutBuildBinaryConfigurations,	ref List<string> OutExtraModuleNames	)	{	OutExtraModuleNames.AddRange( new string[] { "ProjectPesadelo" } );	} }

Is steam running on your machine? The steam client? Do you have any other games open that use steam?

Yes, steam client is running and no, I’ve no game opened.
But I made a new shipping build after you said, closing steam client, but not changed

Is strange, because in Standalone game steam works properly, with archievements and all

Guys,

I accidentally solve that problem.

Simple: in shipping build process. Steam shutting down.

After process finished. go to:

[yourProjectFolderName]/Saved/StagedBuild/WindowsNoEditor/[yourProjectFolderName]/Binaries/Win64/

and paste a file called steam_appid.txt or create one.

and finally, problem solved. Steam pop-up comes up and everything works again.