Disabling CharacterAutoLoads breaks the StarterGui


#1

If CharacterAutoLoads is set to false, the contents of the StarterGui are not cloned into players' PlayerGui. It looks like the client does not clone it in until LoadCharacter is called on the player and their character is loaded. I'm on Windows 7 with the latest version of studio and the client (it happens on both).

Expected behavior: Contents from the StarterGui should be cloned into the PlayerGui as soon as the loading screen disappears, regardless of whether there's a character or not because not all games rely on characters in the same way the ROBLOX does.

Repro file (right click > save link as):

It's just an empty baseplate with CharacterAutoLoads set to false and a ScreenGui+Frame in the StarterGui.

There's a similar thread about this, but according to him all GUIs are gone when he disables CharacterAutoLoads, so I'm not sure if it's a different bug and I decided to post a separate thread.


#2

You may have misunderstood, my CoreGUI's work but ScreenGui's don't. Thanks for posting this though, you went a bit more in depth :smile:


#3

Is this new, or is this a part of the replicatedfirst not working with characterautoloads false?


#4

If I put stuff in ReplicatedFirst with CharacterAutoLoads set to false, the local scripts in ReplicatedFirst run, so I guess it's a separate issue -- the ReplicatedFirst stuff looks like it's fixed.


#5

If I put stuff in ReplicatedFirst with CharacterAutoLoads set to false, the local scripts in ReplicatedFirst run, so I guess it's a separate issue -- the ReplicatedFirst stuff looks like it's fixed.[/quote]

Nope. The ReplicatedFirst issue was with play tests only, and it's still there (although it's being fixed).

Edit: What the heck? This shouldn't be the behaviour at all! How does that make any sense? Here's a quote from the wiki:

When a player spawns, the contents of the StarterGui are copied into the Player's PlayerGui. Objects can also be parented under the PlayerGui directly. Once a Player dies, the PlayerGui is removed unless the ResetPlayerGuiOnSpawn property (of StarterGui) is set to false, in which case it isn't.

Key things being when a player spawns and Once a Player dies


#6

Oh, I was testing it in online mode. ReplicatedFirst is supposed to work in play solo?


#7

ReplicatedFirst is supposed to run regardless, before your character or anything else is loaded, yes


#8

Ok so there's a ReplicatedFirst bug and the StarterGui bug or just the StarterGui bug?


#9

Two different issues


#10

I also addressed this issue long ago. http://developer.roblox.com/forum/client-features/16946-don-t-make-startergui-dependent-on-player-s-character :frowning:


#11

I'm still confused why some people said they weren't experiencing this bug, while most others were.


#12

I probably wasn't the only one who gathered that all GUIs were broken instead of just the StarterGui not cloning into the PlayerGui from your post. When people saw the CoreGui with CharacterAutoLoads = false, they may have dismissed it since the CoreGui was working.


#13

Just so you guys are aware, I'm working on this bug.


#14

Thank god, I had to halt work on my game because of this bug. Thank you!


#15

2018 and this is still an issue.


#16

Yep. You can still do a manual clone but shouldn’t be necessary.


#17

Jan 2019, this is still an issue.


#18

Currently fixed this problem by having a script copy the Guis over to PlayerGui.
A fix would still be appreciated, so we don’t have to rely on dodgy scripts.