I’ve looked trough it, looks like you guys might have forgotten to include few things:
First:
In MyGame.Build.cs you have to include:
PublicDependencyModuleNames.AddRange(
new string] {
"Core",
"CoreUObject",
"Engine",
"OnlineSubsystem",
"OnlineSubsystemUtils",
}
);
Make sure to regenerate project files after adding this
To essentially include OnlineSubststem to project.
Second
Thanks to MaxL, I know that.
Overload GetGameSessionClass() function in AGameMode class for game mode to actually use your game session (If you’re extending AGameSession class):
TSubclassOf<AGameSession> MyGameGameMode::GetGameSessionClass() const
{
return MyGameGameSession::StaticClass();
}
Please correct me if I’m wrong.