Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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:
    22
    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.