We experienced freezing in our game - usually around 30ish seconds - and then the game resumed with slightly off functionality, but would eventually right itself after another short period of time. This freezing/resuming behavior would occur repeatedly, randomly, and require no repro steps except loading into the game. Audio would continue, but player movement and visuals froze. The main error we saw reported was on client side - shown below:
In the reported script above, we were previously using the .TextFits function to determine if we needed to increase the size of our text label with text we load dynamically. We successfully accomplished this by having a while loop that increased text label size incrementally and then exited once TextFits returned true - there have been no edits to this logic for quite sometime when this error started yesterday.
Tracking the behavior today, anytime the text was over a certain character limit, TextFits would fail to return true when the label was large enough. In our case, if the text was over 25 characters, then we would consistently see it fail each time there was an attempt to load it in. Our game would freeze while this calculation got stuck until the script timeout error broke us out. We were able to mitigate this bug by utilizing a loop counter and breaking out ourselves after a certain point.
System Info - seen on the following devices:
-
Mac - both in game build and in studio
-
PC
OS: Windows 11 Enterprise 64-bit
CPU: Intel i7-10700F CPU @ 2.90GHz (16 CPUs), ~2.9GHz
RAM: 32GB
GPU: GeForce RTX 2070 SUPER
Expected behavior
What should happen is TextFits can return true once the TextLabel is properly sized, regardless of the character count on the provided text.
A private message is associated with this bug report

