Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

UI Mask Scale Bug

Discussion in 'UGUI & TextMesh Pro' started by abitofjohn, Sep 11, 2014.

  1. abitofjohn

    abitofjohn

    Joined:
    Nov 6, 2012
    Posts:
    27
    I can't find this on the forum, I apologise if its already been reported.

    I have an image masked, it works fine until I set the the masked image scale's X or Y to be minus. The image stops being masked.

    I can set the mask itself to be a minus scale which works as expected reversing the mask and the objects contained as a workaround but would be easier to flip the objects inside.

    UPDATE: Sorry The workaround doesn't actually work either, minus scaling a mask and its child objects also breaks the masking.

    Cheers
     
  2. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,166
    i think this is a similar issue to being able to see masked items from behind if using a world space canvas. If it is then we know about it and the graphics team is on it.
     
    abitofjohn likes this.
  3. abitofjohn

    abitofjohn

    Joined:
    Nov 6, 2012
    Posts:
    27
    Great, good to know your on it.

    Cheers!
     
unityunity