Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago
Edited 5 years ago

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

Log in to vote
0
Answered by
green271 635 Moderation Voter
5 years ago

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.

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. ShinyGriffin 129 — 5y
0
The screen freezing has nothing to do with this.I always get Infinite Yield Possible and my scripts never break green271 635 — 5y
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. ShinyGriffin 129 — 5y
0
That's not due to Infinite Yield, that's because of FilteringEnabled. Infinite Yield as I said, is just a warning. green271 635 — 5y
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. ShinyGriffin 129 — 5y
Ad

Answer this question