mob-sakai/UnmaskForUGUI

Not working on Android devices

Closed this issue · 1 comments

Wolar commented

Describe the bug
When used on the built player (.apk) for Android device, the mask doesn't work at all.

To Reproduce
Steps to reproduce the behavior:

  1. Import Unmask
  2. Import Demo and build demo scene
  3. Deploy to "any" Android device
  4. Unmask is not working

Environment (please complete the following information):

  • Platform: Android (tested on Nexus 5 with Android 6.0.1 and on Samsung Galaxy S10 with Android 9 I think)
  • Unity: 2019.2.18
  • UnmaskForUGUI: 1.1.3

Additional context
Add any other context, screenshots or gif animations about the bug here.

Wolar commented

It was issue on my side, I'm very sorry for bothering you. In case anyone else is having this issue, go check Player Settings -> Resolution and Presentation -> Uncheck "Disable Depth and Stencil"

No idea why it was disabled in my project but it's quite old project I have inherited so maybe someone have disabled it and of course masking (and unmasking) is using stencil buffer.