OnPostLogin doesn't fire in standalone seamless map travel

Hello,

I’m in a multiplayer design with UE5.0. I’m trying to use OnPostLogin.
But, it seems OnPostLogin doesn’t fire because the print string never shows up.
image

My test was done with standalone game and failed to print out OnPostLogin string on screen. If I did this in PIE mode, everything looks fine.
image

My design was travelling from a Lobby_Menu map(GameMode=GM_LobbyMenu) to a real game map(GameMode=GM_01). ‘UseSeamlessTravel’ was set before map traveling.
image

Does anybody know why Event_OnPostLogin doesn’t fire in my test?

1 Like

Because it doesn’t fire for seamless travels, but only for hard travels. Read through this beast so you know what function you should use instead.

TLDR: Quoting that beast:

Tip: Use AGameMode(Base)::HandleStartingNewPlayer() as an entry function, as it’s called regardless of whether the travel was seamless or not.

4 Likes