Chemfy
(Chemfy)
September 30, 2016, 7:42pm
1
Hello
I was trying to control people who can connect to server with AGameMode::PreLogin, but it seems like it is never getting called. So I checked the ShooterGame example and it seemed to have the same issue.
Now am I missing something or is this a bug?
PS. AGameMode::PostLogin works just fine.
Hey ,
The function signiture changed. Here is how you’d call it now:
void AAH499071GameMode::PreLogin(const FString& Options, const FString& Address, const FUniqueNetIdRepl& UniqueId, FString& ErrorMessage)
{
UE_LOG( LogTemp, Warning, TEXT("PreLogin_FUniqueNetIdRepl" ) );
Super::PreLogin( Options, Address, UniqueId, ErrorMessage );
}
Remember that this will only get called in a multiplayer environment.
Thanks for the report but at this time, we do not think that this is a bug with the Unreal Engine.