I’m experiencing multiple instances of infinite yields, specifically in the use of :WaitForChild(). This has not been an issue until recently, and I can’t seem to find the cause. Among the scripts that are affected are some made by Roblox, such as the character animation script. This script hangs infinitely when attempting to find the Torso of the character. The end result is a sliding mannequin with no default Roblox animations.
The map is quite large and the studio is laggy, but this is also an issue when loading the game with Roblox player as well. Some of the scripts which hang up were created by me, but have not experienced this issue before. Below see a snippet of the output log.
This belongs in #help-and-feedback:scripting-support, its putting an infinite yield because it can’t find the part your looking for in that specific time. Is your game in R15?
Yes, it’s a warning, but this causes multiple scripts to not function because they hang up infinitely waiting for an instance that should have already been loaded into the game.
That script isn’t written by me. That should be the default animation loader from Roblox. The torso loads into the game - meaning I can see the torso when the game loads. But the script hangs up infinitely waiting for the Torso to load in, so none of the default Roblox animations (jumping, walking, or even idle) load.
To my knowledge, adding a large timeout will just prevent the warning without solving the issue. The animations still won’t load in, because the script will be waiting for the Torso.
Actually, I believe someone on the Teamcreate may have tampered with the Game Settings since it’s been changed to R15 (sorry! I was almost 100% sure it was still in R6), so that fixes the issue with the animations not loading. I’m still having some issues with other scripts experiencing Infinite yields, but that may be caused by a separate issue.
Solved the second problem (someone was seriously playing around with the game’s settings). StreamingEnabled was turned on by someone which caused multiple regions of the map to not load.
Alright then. If it’s through a malicious intent you should probably find them, this is why I usually make people go to a seperate team create game if they want to work with me and I don’t know them.
That’s a good point. FWIW, I’m not the head developer for this project, so I’m only one additional developer among several others. I’m going to contact the others and ensure this issue is handled appropriately. I don’t suspect any malicious intent.