The playergui child of player doesnt load in quickly

The bug prevents players from entering the game, because there are a few scripts that use player:WaitForChild(“PlayerGUI”) Including! roblox’s official ControlScript.

This has started happening on our game yesterday.

It makes the game take about a minute longer than it’s supposed to.

You can see it here Counter Blox - Roblox

and you can see it in the client log, it says Infinite Yield Possible, player:WaitForChild(“PlayerGUI”)

took me about a minute and a half before everything loaded properly

We are currently in the process of remastering our game, it doesnt happen on our remastered version, and our game uses some really really old code, but what could possible cause the PlayerGui to take so long to load? I’m not even talking about a screengui, im talking straight-up player.PlayerGui doesnt exist for a good minute

6 Likes

I have an issue that’s related, it appears my players (sometimes) never get the contents of StarterGui in my lobby. Meaning they cant do squat. Is this similar to what you are experiencing? The StarterGui contents never load for my players

For me, it’s playergui not loading for a while, not necessarily the contents

2 Likes

i appreciate the very supportive developer forum community we got here, i’m still trying to figure this out btw

can anyone help me?

help

I am having the same issue with my game, it is happening on PC & Xbox.

Could someone provide any suggestions or solutions for us?

1 Like

Is there anything I can do to make the playergui actually load? Does it have to do with the contents?

I figured it out, for some reason it fixes when the character gets loaded, so I changed it to load a character automatically after 20 seconds of joining the game :confused: kinda weird but it works

Do you mess with CharacterAutoLoads or anything? Or does the game sometimes just never decide to spawn you?