Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity 5 UI Mask issues Android

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


1 Answers

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)

like image 139
user5302441 Avatar answered Sep 08 '26 03:09

user5302441



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!