UIScale doesn't update until you resize your game window

I just started experiencing this bug in the last few days where UIScale won’t change the size of anything but text until you resize your game window. This is a huge problem for my game on mobile, as all the UI is gigantic and they have no way to resize the window to correct the behavior.

I reproed it in a baseplate you can find here:
ScaleBug.rbxl (13.4 KB)

Open the file and start a test client. If you change the UIScale.Scale value to 2 in the PlayerGui, the frame won’t change in size. However, if you resize your game window, it’ll update the size of the frame.

9 Likes

Hi Imaginaerum,

Thanks for reporting this issue to our team. Our engineering team is currently investigating. We will update this thread once we receive more information.

Thanks,
Developer Relations Team

2 Likes

I had this issue with my own UIScale solution which worked like the object.

1 Like

The issue looks to be that you have the UIScale component inside of a ScreenGui object, and we don’t support this properly. You can work around it by putting the UIScale inside of your GuiObjects rather than directly parented to the ScreenGui. In the repro place for example, put the UIScale inside the Frame.

It is incidental that this worked in the past, something else must have been forcing a resize event. None of the UI related fast flags flipped recently seem to have caused it. I will make a fix, but it won’t be live for about 2 weeks.

6 Likes

The fix for this bug is now live.

4 Likes