UIStroke has inconsistencies surrounding its ability to fully border a frame

Right now, when you place a UI stroke into a frame for example, sometimes it causes the effect you see below:

This is very annoying because even as i set the Thickness property higher, and made sure it is on Border instead of contextual, it still does not completely border the UI object.

System info: I am running a Nvidia RTX 3050 Ti with 16 gb of ram and an AMD Ryzen 9 9950X 16 cores. OS is windows 11.

Expected behavior

I expect to see the border fully wrap around the frame/button/label in question. Instead it sometimes (very inconsistently) does not wrap all the way around.

Without more context, it simply looks like the left and top sides are being clipped. Is that frame parented at the top left corner of a frame with clips descendants enabled?

White frame w/ClipsDescendants = true

White frame w/ClipsDescendants = false

Another possible cause could be that the Frame with the UIStroke is inside a CanvasGroup, which can also display similar behavior without ClipsDescendants having any effect, since everything in it is displayed onto a texture, and nothing outside of it is rendered. The OP may be unaware of this effect, but they don’t specify if they are using one or not, so I’m just putting this out there in case they are. I believe that this is likely not a bug, as I haven’t encountered it before, despite using UIStrokes fairly often. Many things can accidentally result in clipping, similar to when I first started using Rich Text Markup; a small formatting typo can lead to hard-to-trace problems.

(Edit: Also, another culprit could potentially be subpixel misalignment, since the UIStroke is very thin. It might not be a bad idea to make it thicker and see if that fixes it. Sometimes anti-aliasing can also cause issues)

Aforementioned, this is likely not a bug but instead an issue with your setup. If it is a bug, however, I’ve already reported it here: