The SurfaceGUI's on a transparent part end up clipping over eachother and overlapping.


The box can be seen infront of the fence as if I have it set to AlwaysOnTop but its not.

Expected behavior

So basically, the box should be behind the fence, but the SurfaceGUI is showing infront of the fence.

also sorry if its not supposed to be in bug, other-bug I wasn’t sure.

Thanks for the issue report, Could you attach a place file or link to an experience where this occurs so we can investigate?

Yes I can, here it is.

If you enter the game, and select the first option, then New Game, then Chapter 1, wait for it to load and then once you enter, there is a red barrier and some boxes where this happens next to and behind some fences.

And sometimes it disappears from one angle and appears ontop from another angle or get too close.

If the fence and box are both SurfaceGuis, then their rendering order is determined by the part they are attached to. So if you position the camera such that the fence part is further away than the box part, the fence will render first and end up behind the box. This can generally happen anytime the SurfaceGui extends past the part boundaries.

I don’t have the source so I can’t verify this directly, but I’d like to confirm if you are rendering the fence as a SurfaceGui without clipDescendents?

Closing due to lack of response. Please feel free to re-open or file a new bug if needed