Mask overflowing into outline

Hi.

It seems the UI mask component allows drawing outside the original mask image bounds when applying an outline component.

This extends to children: when having a child object(C) with just a mask component, the outline of the parent(P) extends the child’s mask effect, so any child(GC) of the child(C) overflows into the root parent’s(P) outline space.

Is this intended or a bug? This sort of makes the combination of the two effects useless.

I’m using Unity 4.6 beta RC3.

Thank you

1 Like

The second case is fixed somehow when hitting Play, and stays so in the scene view, even after restarting Unity. This is a sort of workaround.

[edit] Submitted bug - http://fogbugz.unity3d.com/default.asp?651160_9moblcp5ge55jjup