GameMode: local player controller Login/PostLogin called before BeginPlay?
It seems that when I start a standalone game, C++ AGameMode::Login is invoked for the local player controller before the GameMode BP Event BeginPlay? The same is true for the BP Event PostLogin for the same local player controller (fired before GameMode BP Event BeginPlay).
However, this doesn't seem symmetric/consistent to the usual sequence for remote clients logging in, in that the respective PreLogin/Login/PostLogin are invoked (long after) GameMode Event BeginPlay.
Basically, I attempted to consistently do some initialization (loading config) in GameMode Event BeginPlay, and then use the initialized config to aid the player login process, no matter if it's a local player or remote. However, with the current behavior, I have to load my config (check if initialized) inside Login (for once) to carry on the player specific setup.
Can I consider this asymmetric inconsistent behavior a possible bug?
asked Feb 20 '16 at 02:02 AM in Bug Reports
I was also able to reproduce the issue with the Login function and have entered a bug report (UE-27284) for investigation.
answered Feb 23 '16 at 04:10 PM
Doug E ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here