Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

TextMeshPro UI mask issue

Discussion in 'Unity UI & TextMesh Pro' started by MaartenB, Oct 10, 2018.

  1. MaartenB

    MaartenB

    Joined:
    Nov 6, 2014
    Posts:
    11
    Hello everyone,

    There is a problem with the TextMeshProUGUI component and the Unity Mask component. It seems that the text is still visible on a 3D object when using Deferred rendering. When I'm using Forward rendering, it's totally fine.

    Hereby the steps to replicate the issue:

    1. Create a new project for Unity 2017.4.12f1
    2. Add the TextMeshPro Asset Pack from the Unity asset store.
    3. Add an image to the hierarchy and add the Mask component to that same object. (See first screenshot)
    4. Set the Canvas Render Mode to "World Space". (I haven't tested it with Screen Space)
    5. Right mouse button on "Image" and create a "UI -> TextMeshPro - Text" object.
    6. Set it all up correctly so the mask works and stuff.
    7. Open the "Project Settings -> Graphics" window.
    8. Set the Rendering path in the High (Tier 3) to Deferred.
    9. Cry just a little.
    Hereby two screenshots of the situation:

    upload_2018-10-10_14-16-27.png

    upload_2018-10-10_14-16-45.png

    So I hope you guys can come up with a solution so I can create beautiful projects with some nice TextMesh Pro stuff in it.

    Thanks a lot in advance!


    Best regards,

    Maarten
     
  2. MaartenB

    MaartenB

    Joined:
    Nov 6, 2014
    Posts:
    11
  3. MaartenB

    MaartenB

    Joined:
    Nov 6, 2014
    Posts:
    11