Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

2019.1 a11 UGUI Image Size BUG

Discussion in '2019.1 Beta' started by htq110219891, Dec 19, 2018.

  1. htq110219891

    htq110219891

    Joined:
    Sep 21, 2018
    Posts:
    1
    2019.1 a11 UGUI Image Size BUG

    2018.2.3 is ok
    2019.1 a11 is not ok

    ImageA:Icon_key
    ImageB:Icon_studyCoin

    Step 1: Use image show ImageA。
    Step 2: Use code "Image.sprite=ImageB" change image
    Step 3: Use code "Image.sprite=ImageA" change image
    Resault:ImageA Size is wrong。

    I think the bug is ImageB has transparent make ImageA wrong
     

    Attached Files:

  2. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,574
    Could you please submit a bug-report and include a project to reproduce the issue, as described in this document:
    https://unity3d.com/unity/beta/guide-to-beta-testing#tab-3

    Submitting a bug-report allows Unity Technologies to take a look at this issue.

    After you submitted the bug-report, you receive a confirmation email with a bug-report Case number. Please post this Case number here (in this forum thread) for Unity staff to pick up.
     
    hippocoder and LeonhardP like this.