You’ll also need to add a default platform service entry to <YourProjectDir>/Config/DefaultEngine.ini (or you can use different values in the platform-specific inis if your project supports multiple platforms):
[OnlineSubsystem]
DefaultPlatformService=Null
I recommend starting with Null, as above, since this will allow you to connect over a LAN and is the simplest to get working.
Yes, MyProjectFolder\Config\DefaultEngine.ini. I’ve also tried BaseEngine.ini and adding my own Config\DefaultEngine.ini in the packaged game. Still no dice.
I’m having trouble reproducing this failure. I’m using UE 4.6.1, create a new project with the Blueprint 3rd person template, add a CreateSession node called from a key event, and add DefaultPlatformService=Null to Config/DefaultEngine.ini. Package project for Windows 64-bit, run the game from the package, trigger session creation, and it succeeds.
Which engine version are you using? Is it a custom build from the GitHub code? Also, are you getting the same error message in the log from the packaged build (“Invalid or uninitialized OnlineSubsystem”)?
Ah, glad to hear it - I apologize for not mentioning that earlier, I should have asked if you were using the Blueprint 3rd person template or the C++ 3rd person template!