Search Unity

Unity UI sizeDelta broken on Unity 2019.1.0f2

Discussion in 'UGUI & TextMesh Pro' started by roka, Apr 17, 2019.

  1. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    498
    Hello, the sizeDelta get broken when you assign a sprite to an image componant by using a script.

    Video :


    Case : 1146867

    Thank you.
     
    Maulwurfmann, yinyinh and so3arbelnox like this.
  2. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    498
  3. starform-joshrosen

    starform-joshrosen

    Joined:
    Aug 29, 2018
    Posts:
    8
  4. Gamrok

    Gamrok

    Joined:
    May 13, 2015
    Posts:
    14
    Same problem here when changing the sprite and/or the color. Moreover when a shadow component is used, only the shadow is displayed after changing the sprite.
     
  5. Urishizu

    Urishizu

    Joined:
    Sep 24, 2016
    Posts:
    154
    Same issue. Just upgraded and this broke large swaths of my UI. Is there anywhere to see when a patch will be released to fix it?
     
    Immu likes this.
  6. starform-joshrosen

    starform-joshrosen

    Joined:
    Aug 29, 2018
    Posts:
    8
    Here's a video of our bug repro project. Pretty much the same setup as the OP, just corroborating the repro.
     
  7. nareshbishtasus

    nareshbishtasus

    Joined:
    Jun 11, 2018
    Posts:
    25
unityunity