GameSession (AInfo) BeginPlay not called

Hi Sean,

Thanks very much for the swift response.

Steps to reproduce:

  1. Create new basic C++ project (TestProject)
  2. Create new C++ class ‘MyGameSession’ derived from GameSession
  3. Add overrides for Constructor, OnConstruction, PostInitializeComponents and BeginPlay in ‘MyGameSession’ to log out when they are called (e.g. “UE_LOG(LogTemp, Warning, TEXT(“MyGameSession: PostInitializeComponents”));”)
  4. Create Blueprint ‘TestProjectGameModeBP’ derived from TestProjectGameMode.
  5. Open ‘TestProjectGameModeBP’ and set ‘GameSessionClass’ to ‘MyGameSession’
  6. Edit → Project Settings → Maps & Modes → Default Game Mode and set to ‘TestProjectGameModeBP’
  7. Run standalone game from VS and check that these functions are never called (nothing in log). You can verify this by using breakpoints as well.

Please let me know if anything is unclear.

Cheers!