Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

TextMesh Pro "TMP SubMeshUI" should pick up "Cull Transparent Mesh" from parent

Discussion in 'UGUI & TextMesh Pro' started by Peter77, Aug 7, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,232
    When TMP creates a "TMP SubMeshUI", it does not pick up the "Cull Transparent Mesh" settings from its parent Canvas Renderer.

    Reproduce
    1. Create a Text Mesh Pro UGUI object
    2. Tick the "Cull Transparent Mesh" settings on the Canvas Renderer that sits on the same GameObject
    3. Do something that causes TMP to create a "TMP SubMeshUI" object
    4. Select the "TMP SubMeshUI" object
    Actual
    Observe the "TMP SubMeshUI" object does not use "Cull Transparent Mesh".

    Expected
    It should pick up the settings from the parent.
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    4,960
    I just made the change which will be included in the next release.

    The synchronization of this flag between the parent and child objects will happen when the text object is updated..
     
    Peter77 likes this.
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,232
    Great, thanks for the quick help!
     
  4. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    4,960
    You are most welcome.

    This was an easy change.
     
    Peter77 likes this.
unityunity