#include "OnlineSessionSettings.h" cannot open source file

what do i have to put in my build.cs

1 Like

FOnlineSessionSettings | Unreal Engine Documentation always read the docs when cpp coding .as mentioned in docs Module OnlineSubsystem must be enabled(its already in files you have to uncomment it.

where is this located i cant find anything commented that has any relation to onlinesubsystem

// Uncomment if you are using online features
// PrivateDependencyModuleNames.Add(“OnlineSubsystem”);
i found this in source files in projname.build.cs

this tutorial explains servers in depth

1 Like