As far as I can see, changing any URL options by means of PlayerPawn.UpdateURL does not alter the result returned by LevelInfo.GetLocalURL until other level is loaded. For example, suppose that the player initially has name "Player" and Level.GetLocalURL() would return something like this:

GetLocalURL is used by the standard "Player Setup" window; when opening this window after using SetName, it may display old player name instead of the current one. If we want to retrieve the most recent requested player name, we cannot rely on the value of PlayerReplicationInfo.PlayerName, because the implementation of the game class may reject name change (URL is modified regardless of whether the name change was approved or not). Is there a possibility to retrieve URL with all changes that are done with UpdateURL?

IP Logged

han

Global ModeratorUnreal Rendering GuruDeveloper Team
Offline

Oldunreal member

Posts: 522
Location: Germany
Joined: Dec 10th, 2014
Gender:

Re: Is there a way to retrieve updated URL options?Reply #1 - Aug 9th, 2017 at 5:30pm