Packaged game gives black screen

I used next hack in GameInstance::Init method and it helps me…

#if !WITH_EDITOR
	UGameplayStatics::OpenLevel(GetWorld(), "LoginMap");
#endif

But it’s not good I think… lol