Player name changing in single player test

It seems that upon launching Play Solo or a server test with one player, the player name is initially set to ‘Player1’ and then after a single ‘wait()’ changes to either the logged in account’s username in the case of play solo or ‘Player’ in the case of a server, although this only happens sometimes with a server - often it works fine.

This breaks my code that sets up infrastructure for the player name ‘Player1’ and then later looks for the infrastructure set up for the same player with its new name ‘leates’ but can’t find any because it was set up for ‘Player1’ (though a wait at the start of the script fixes the issue).

3 Likes

I can confirm that this has been happening for some time now.

I also noticed this problem, but refrained to make a thread on it because I found a post about it (I believe I noticed it a week ago today).

1 Like

They were thinking of changing this in this thread too
http://devforum.roblox.com/t/play-solo-player-and-character-properties/27561

I think leates’s bug is different cuz of the wait() though, weird

Yeah this is the same issue that I had in the thread @Darkmist101 links. Originally I thought it was to do with LoadCharacter but it does appear to just be related to the name not being immediately assigned to the player.

I assume this may be a side effect of a (silent?) change where Play Solo suddenly started using your players name rather than Player1 etc.

Bringing this back up, just ran into this. Pretty annoying when using for systems that have to exist right when the player joins.

Screen Shot 2016-08-17 at 8.29.59 PM.png