TextBounds doesn't reflect accurately until the frame after it's Instance is parented

Title is self-explanatory. When listening to the changing behavior of the TextBounds property, the first case of TextBounds changing always returns 0,0. In order to fix this, you have to defer to the next frame to listen for the correct TextBounds.

image

textbounds-doesnt-update-until-the-frame-after-its-instance-is-parented.rbxl (57.9 KB)

Expected behavior

TextBounds should reflect properly in all cases on the task/thread pipeline.

4 Likes