2019.1 a11 UGUI Image Size BUG

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

4014439--346741--Icon_key.png
4014439--346744--Icon_studyCoin.png

Could you please submit a bug-report and include a project to reproduce the issue, as described in this document:

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.

2 Likes