Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Roblox Studio Update Caused a ton of errors while opening my game?

My game used to begin and work perfectly with no errors until this weeks Studio update that allows you to test client/server.

I'm getting these errors I've never gotten before and I dont know why:

17:46:11.797 - Infinite yield possible on 'Players.ShinyGriffin:WaitForChild("PlayerGui")'
17:46:11.800 - Stack Begin
17:46:11.801 - Script 'Players.ShinyGriffin.PlayerScripts.CameraScript.RootCamera', Line 12
17:46:11.802 - Stack End
17:46:11.804 - Infinite yield possible on 'Players.ShinyGriffin:WaitForChild("PlayerGui")'
17:46:11.806 - Stack Begin
17:46:11.807 - Script 'Players.ShinyGriffin.PlayerScripts.ControlScript', Line 43
17:46:11.808 - Stack End
17:46:17.049 - Infinite yield possible on 'Players.ShinyGriffin.PlayerGui:WaitForChild("Chat")'
17:46:17.053 - Stack Begin
17:46:17.054 - Script 'Players.ShinyGriffin.PlayerGui.TitleScript', Line 6
17:46:17.056 - Stack End

Why is this happening? I don't know why Roblox would implement such a game-breaking update to studio. It seems like the scripts load before anything else does now.

All of these scripts worked perfectly without error for the past year.

Is anyone else having these issues?

1 answer

###Warnings

By default, Roblox will warn you of some actions that you are doing. These will appear in orange text, it is identical to doing warn(text). This warning in paticular is nothing to worry about.

###What it means

Infinite Yield Possible just means that your script can hang forever if the instance it's waiting for does not load/does not exist. That's why it's implied in the name, WaitForChild. This warning will appear by default unless you use the 2nd arguement of WaitForChild. The 2nd arguement is not required.

5 comments

0

Thanks but this doesnt answer my question. It is something to worry about because when I start my game in studio, the title screen is frozen and none of the scripts work. It used to for months and after the update it completely broke.

0

The screen freezing has nothing to do with this.I always get Infinite Yield Possible and my scripts never break

0

Before the update, I never had the "Infinite Yield" warning, and my title screen and other scripts worked. Now after the update, I am getting these warning, and the script that handles my title and the script that handles the player's transparency don't work, and they both have "Infinite Yield" errors in them. My question was if this was just me because its extremely game-breaking in my case.

0

That's not due to Infinite Yield, that's because of FilteringEnabled. Infinite Yield as I said, is just a warning.

0

How do I fix this though? I'm just really confused because my game has worked fine with FilteringEnabled for the past year until just today.

This discussion is preserved as it was. New answers, comments, and votes are closed.