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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

CanvasGroup alpha reacts differently in Game than it does in Scene

Discussion in 'UGUI & TextMesh Pro' started by SaoSilver, May 30, 2020.

  1. SaoSilver

    SaoSilver

    Joined:
    May 27, 2020
    Posts:
    9
    I'm working on a 2d game and I have a parent object with the CanvasGroup component on it. When I change the alpha value to 0 in the Scene view then it does what I would expect, make the object invisible. When I change it in the Game view, only certain children of the parent are affected. All the children are an 'Image' and I don't know why only some are affected. And even at that, the children aren't as transparent in the Game view as it was in the Scene view. Any idea why?
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,078
    Do you useuse the standard material for all images?

    Do you use gamma color space (default) oror linear color space for your game?
     
  3. SaoSilver

    SaoSilver

    Joined:
    May 27, 2020
    Posts:
    9
    I think that I do.

    It is set to gamma and I tested it with linear and the problem is still there