UWorld::ServerTravel

I’m using GetWorld()->ServerTravel() which is working perfectly, however when the players transition to the new map they now have two HUD’s, and the player controller seems to be reset. I am most likely missing something simple. Any ideas?

Is it something to do with the destination map having a gamemode set and it for some reason overlays the HUD twice?

Thanks

It can not has two HUD…
Sure you have two widgets… (Remove from parent)

If you need a seamless server travel:

You can use this:

GetWorld()->SeamlessTravel(URL, false);

Or you can use this:

AGameMode::bUseSeamlessTravel=true;
GetWorld()->ServerTravel(URL, false, false);

Ah thats all it was, i wasnt removing the HUD widget from parent and it was adding another.

Thanks

1 Like

You are welcome!! :ok_hand: