Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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.
     
    Rioneer and kyubuns like this.