Search Unity

Bug UI Mask is displayed INCORRECTLY with a mobile target

Discussion in 'UGUI & TextMesh Pro' started by kyubuns, Jan 16, 2023.

  1. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
    Standalone.png

    ios.png

    It just uses a round image as a Mask.
    When set to iOS Target, a strange pattern appears on the corners.
    This did not occur in Unity 2020.3.18 and occurred in Unity 2021.3.16.
    Here is the repository that reproduces it.
    https://github.com/kyubuns/BugReportUiMask

    Does anyone know the cause or workaround for this?

    For unity developer
    I have already sent a bug report on this issue.
    IN-28938
     
  2. kyubuns

    kyubuns

    Joined:
    Aug 6, 2013
    Posts:
    138
  3. BillyShears

    BillyShears

    Joined:
    Sep 29, 2017
    Posts:
    2
    I had the same issue with the editor. I managed to solve by changing the mask 'format' in the sprite inspector from 'automatic' to 'RGBA 32 bit.' I haven't checked the built version yet, but I believe that exploring the platform-specific format options might do the trick in that case too.
     
    CookieNoir, Rioneer and kyubuns like this.
  4. unity_1o1n1e1u1p1

    unity_1o1n1e1u1p1

    Joined:
    Sep 18, 2021
    Posts:
    1
    Disabling alpha is transparency in advanced picture settings helped me
     
    Serhii-Horun likes this.
  5. Serhii-Horun

    Serhii-Horun

    Joined:
    Apr 12, 2015
    Posts:
    151
    worked for me, thanks