TextService:GetTextSize() not working with FontFaces

I’m trying to use TextService:GetTextSize(), but it doesn’t support Roblox’s new FontFace system. I’m getting the error that Font.Unknown isn’t valid. It’s referencing a GUI object for a Font, but you can’t edit those in the Explorer anymore.
Screenshot 2023-01-29 at 3.31.12 PM

Use :GetTextBoundsAsync() instead, it supports the new font system.

1 Like

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