Online SubSystem plugin

Hello Everybody !

Until the 4.13 version, the online subsystem an Steam Subsystem where in engine code, and the integration was “easy”, I used it in my c++ code.

Now it’s a plug in, and I’m unable to use it.
I have in .build.cs :

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "HTTP", "OnlineSubsystem", "OnlineSubsystemSteam", "OnlineSubsystemUtils" });

It compile without errors, but it doesn’t appear to be loaded … There is some strange thinks when playing … (like the “-nosteam” cmd not working or mesage of steam shutting down when there is no steam loaded …)

How to include them properly please ?

Thank you !

Use it as a normal plugin, just remove it in the PublicDependencyModuleNames of Build.cs, then when you open editor u can go to plugin and enable Online Subsytem Steam there.

Or you can edit .uproject file of your project in notepad and add this

"Plugins": [
			"Name": "OnlineSubsystemSteam",
			"Enabled": true

Thank for your answer, but it’s not the problem …
Plug ins are already activated in the .uproject, and if I remove them in the build.cs VC says me “unable to open the include file “OnlineSubsystemSteam.h”: No such file or directory” …

For the moment I use SteamWorks third party … it’s not the same way to achieve that but I’m able to make it works :wink:

Move OnlineSubsystem & OnlineSubsystemSteam to PrivateDependencyModuleNames instead of Public, I think.

I already tried this too … It has the same trouble … Thanks anyway :wink:

Have the same issue, but I need to use the online subsystem… why isn’t this big change documented?

I explained in this thread how I fixed it 4.13 Transition Guide - C++ - Unreal Engine Forums

Thank you ! I will try it as soon as possible …