All WaitForChild() Function yield infinitely for no reason

I have been working on my scripting stuff as usual when all of a sudden every WaitForchild() function yields infinitely. It all worked flawlessy and there are no scripts causing this issue whatsoever.

3 Likes

Do you have StreamingEnabled on, on workspace? That might be why.

2 Likes

Oh, it was indeed on. No idea how that happened but it fixed my issue. Thank you very much, now I know a fix for that problem in the future.

3 Likes

Pretty sure that is enabled on default. I saw it confuse a few other devs as well lol.

2 Likes

How does StreamingEnabled bug out the WaitForChild() method?

1 Like

StreamingEnabled removes things from workspace that are far away from the camera.

1 Like

So it’s basically a performance mode option?

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.