GUI sizes/positions off by 1 pixel

When I use scaling sizes & put a 9-slice inside of a frame, under certain resolutions either the sizes or positions seem to be a pixel off. This causes there to be “lines” through 9-slices.

In most cases, a pixel off wouldn’t make much of a difference, but actually looks pretty bad in games like Miner’s Haven:

21072d17260f88ace6d3206931ebdcde7702fa81.png
0dfc4f30449bac933699d5633b1a5b7ff1a3f618.png
cfc63eb77c51e5a0a3b5cf8e0f40725b0782b330.png

… & in my own games:

d806055b6a758ce01f80eb25149707fa590ff82a.png

This bug happens on www.roblox.com and can be reproduced by having a 9-slice in a scaled gui (& changing around the resolutions), but in case you want a setup done for you, here’s a repro:
repro.rbxl (14.0 KB)

This bug started happening a few months back (occasionally), but is very frequent now.

11 Likes

Yeah, I started getting this the other day!

1 Like

Try using the outlines and setting the outline on the frame to 1.

Does this still happen? Was turning on/off some features this week that might of caused this. If you haven’t restarted studio in the last few days you may need to in order to make sure this bug does not show up.

This has been happening for two months, though perhaps not as rampant as now.

1 Like

I was able to repro, will take a look at what is going on

1 Like

Just checked and didn’t see any noticeable difference.

Yeah still happening for me :confused:

This is happening for me even without using 9-slices or scaling sizes, I’m piecing together a map and a bunch of stuff is off by 1 pixel.

1 Like

Any update on this?

1 Like

not yet, its in my backlog though

Hello! Just wondering if there has been any progress on this? :smiley:

1 Like

looking at this right now. I think I know what the problem is

3 Likes

yeah I’ve pinned down the problem, going to have to turn on another fix for something else before I can fix this though. ETA is around 2-3 weeks

3 Likes

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