Shooter game: Bots not spawning on custom map

Hey, so I’ve been trying to figure this out for couple of hours…

I am using the Shooter Game sample provided with UE4 and trying to add custom map. I created the map, placed several spawn points for teams 0 and 1. I’ve added custom main menu item where I just want to start a singleplayer game with bots. I am able to select my map from the list of maps, but when I chose my custom map, game starts but bots do not spawn. However, if I chose some of the provided maps everything works correctly; I have not modified game mode, I am using default ShooterGame_TeamDeathmatch mode for my custom map. I can spawn bots from console, but they’re just not spawned when I start the map from the menu.

It turns out that I have hardcoded online mode to be offline GameInstance->SetOnlineMode(EOnlineMode::Offline); in ShooterMainMenu in OnUIHostMyCustomMode event, and it offline mode obviously does not spawn bots. However, it is still not clear to me why these settings worked on a default map provided with the ShooterGame project.