Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    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. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    10
    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:
    10