Search Unity

5.3.1p2 Constant Pixel Size.. UI>Image does not to show on play

Discussion in 'UGUI & TextMesh Pro' started by Player7, Jan 14, 2016.

  1. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    Soon as I play the scene the image disappears.. even though its on and showing fine editor and game view when not playing .. if I adjust any setting in the editor for the image it shows up while playing.

    And if the Canvas Scaler is it set to 'Scale with screen size' and 'Constant physical size'... it shows when playing.

    I mean literally turning it from on to off and back on.. it then shows while Canvas Scaler is set to Constant Pixel Size... but otherwise its off

    :S
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Try patch 5.3.1p3, the CanvasScaler had a bug from the Multiple Display system which should be fixed in the latest patch.
     
  3. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    Nope that patch doesn't fix the issue.

    Another workaround for the bug 5.3 bugs... I guess this will have to do, toggling it off and back on again makes it show up..soo

    Code (CSharp):
    1.     //TODO Remove this when 5.3 or higher is less buggy
    2.     public GameObject Logo;
    3.     void Awake () {
    4.         Logo.SetActive(false);
    5.         Logo.SetActive(true);
    6.     }
     
    Last edited: Jan 15, 2016
  4. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Have you filed a bug report?