Search Unity

Bug CanvasRenderer's color is resetting when reactivate gameObject.

Discussion in 'UGUI & TextMesh Pro' started by doseon, Oct 18, 2022.

  1. doseon

    doseon

    Joined:
    Mar 17, 2021
    Posts:
    39
    After changing the color using SetColor or SetAlpha in the CanvasRender component, reactivate the CanvasRender's gameObject by using SetActive (false) and SetActive (true), the color value is initialized in Unity 2021.3.11f1.