Unity 5 UI Mask issues Android

user3318682 picture user3318682 · Mar 23, 2015 · Viewed 9.7k times · Source

I am having issues with Unity 5 / Android and masking. In version 4.6 the mask works as expected. However, I can not get it to work at all in Unity 5.

I have attached two images of what it should look like and what it does look like if anyone could shed any light onto the matter please; do I need specific settings for Android etc??? I am currently working on a blank project to try and get this sorted, so there is no code at present, just the scene.

This is how it SHOULD look This is how it DOES look

Answer

user5302441 picture user5302441 · Sep 5, 2015

I searched a long time for the answer to this but I fixed this problem in Unity 5 by unchecking the "Disable Depth and Stencil*" Box.

Build Settings -> Player Settings -> Resolution and Presentation -> Disable Depth and Stencil

After that you need to re-launch unity (you will not see working mask if you dont)