you could debug UGameplayStatics::GetPlayerController realization with Engine Sources in the packaged project to realize what cause the issue
you could debug UGameplayStatics::GetPlayerController realization with Engine Sources in the packaged project to realize what cause the issue