Is there a simple and elegant way to get current level name?
If there is not a way out, I have to hardcoded the level name. I only need to restart the game.
But AGameMode::RestartGame() will cause crash when exit PIE.
So I found the only way will not crash is using UGameplayStatics::OpenLevel to open the current game level.