- Describe the bug.
I inserted a UIListLayout into a Frame of a SurfaceGui. The SurfaceGui is cloned from the ReplicatedStorage by the server, parented to the PlayerGui, and then Adorneed to a part in the workspace. I have five ImageButtons inside of the Frame. They seem to disappear when I insert the UIListLayout, no matter the UIListLayout properties. When I took a closer look, the ImageButtons’ Positions as overwritten by the UIListLayout are being set to crazy-big numbers.
EDIT: The larger-than-life X and Y values for position were happening because I had the Padding set to 10 on the Scale instead of the Offset. Even after that correction, the issue of the ImageButtons not appearing persists.
- How often does the bug happen (Everytime/sometimes/rarely)?
Well, I am able to use a few UIListLayouts when they sort vertically on other SurfaceGuis, albeit inconsistently. I have not found out why. In an attempt to reproduce this, I set up the same scenario as above except with only 2 ImageButtons as descendant of the frame, and the UIListLayout sorting horizontally. This seemed to work, but as soon as I added a third ImageButton, all three disappeared and even after deleting the third ImageButton, adding/removing the UIListLayout, the list could never be organized properly.
EDIT: In the original 5 ImageButton test, with the UIListLayout inside the frame, after removing an ImageButton and then pasting it back in, all of my ImageButtons appeared. Nothing happens when I use the :ApplyLayout() function of the UIListLayout. I was unable to replicate this more than once… bizarre!
- Where does the bug happen (www, gametest, etc) Is it level-specific? Is it game specific? Please post a link to the place that exhibits the issue.
This bug happens in all Studio test modes and true Roblox servers.
It is happening in my game here when players try to use the Smeltery:
- Would a screenshot or video help describe it to someone? If so, post one.
In this .gif you can see how when the UIListLayout is removed from the Frame, all of the ImageButtons that were MIA appear back in their original position:
https://gyazo.com/d6563a9c78d01fbe5126a7c7bd412943
Here you can see each of the AbsolutePositions of these ImageButtons with the UIListLayout in place:
https://gyazo.com/ec4d01bf9a4e4fdfe9ed65702387b86a
And here is a picture of the properties of my UIListLayout:
https://gyazo.com/43fae153a318d1aace6ec9becfb07d68
- When did the bug start happening? If we can tie it to a specific release that helps us figure out what we broke.
I only noticed it about a week ago. It could have been happening before then.
- Anything else that you would want to know about the bug if it were your job to find and fix it.
I can offer more info and further demonstration if needed.