I’ve been noticing this issue for a couple weeks within my game - some UI objects are sometimes scaled wrong until their properties are changed slightly.
Here is what I mean:
As you can see, the gray inner frame is scaled wrong at first until its parent frame is adjusted slightly. No properties were changed for the gray inner frame.
This issue also happens in-game, not only in studio.
Here is an example that a user sent me:
Its a bit hard to see, but the background imageLabel behind the color picker GUI is smaller than it should be.
there were no changes done to the scaling properties of the ImageLabel between these two screenshots.
I’ve also noticed this issue happen in other games I’ve played, where certain textLabels and other UI objects are not scaled properly until I resize the roblox window.
My system information:
Windows 10 PC (Version 10.0.19042)
Intel Core i7-9700K CPU - 3.6GHz
32GB RAM
RTX 2070 GPU
Hi @Enqrypted , thanks for your report! We will be looking into this issue shortly. Also, if possible, please provide a place or rbxm file to help us reproduce the issue and verify the fix. Thank you!
Hi @Enqrypted , thanks for the place file. It’s helpful to know the time when this happens is when you set the frame as visible. This is a known issue which we have been working on. The fix should be in soon.
I think I am having exact same issue on my project. I currently use this code to fix this issue;
function module.ApplyAncientFix(ins: GuiButton)
task.spawn(function()
while true do
ins.Size = ins.Size + UDim2.new(0,0,0,1)
task.wait(1)
ins.Size = ins.Size - UDim2.new(0,0,0,1)
end
end)
end
Here is the gui model file I am experiencing the issue on; reproductionfile.rbxm (12.3 KB)
Note: When I experience this issue on my game it creates this gui scaling bug also on the studio gui view aswell. However when I was packing the gui file to upload it here the issue didnt show up on the studio. If my reproduction file doesnt work then do not take it seriously.
I can confirm this happens with DockWidgetPluginGuis as well. If the widget is set to automatically open in an area other than float, then it will place the widget in the correct position but the UI will be scaled as if it were still in float mode.
I have confirmed that your issue in the attached place file was fixed by the change. This change is not only affecting cases using AutomaticSize. We appreciate your patience while waiting for our fix to roll out!
This bug has been happening to all my games for about a week or two. Basically some gui elements seem to load with no size despite having it set in window properties. It fixes itself when either a screen or element gets resized. It occurs in game and in studio.