Search Unity

Animating PopUp with TMP Text bug

Discussion in 'UGUI & TextMesh Pro' started by Martin_Gonzalez, Jun 23, 2020.

  1. Martin_Gonzalez

    Martin_Gonzalez

    Joined:
    Mar 25, 2012
    Posts:
    361
    I'm animating with Animator a simple gameObject that works as a PopUp, inside has a title and description and buttons and seems not be updating the font texture. [Gif attached]

    This is the simple code I use to open it.

    Code (CSharp):
    1.        public void Open()
    2.         {
    3.             gameObject.SetActive(true);
    4.             _animator.Play(animationInName);
    5.         }
    I've also tried using a Canvas, enabling it and disabling it instead of setting active or not the gameObject and it keeps the same behaviour
     

    Attached Files: