Question by
Malt27 · May 29, 2019 at 08:52 AM ·
uibugimagebug report
Bug with change Image.sprite via script in 2019
Hello,
I notice this bug after I installed 2019 Unity. In 2017 all was fine.
I change sprite:
icon.sprite = Resources.Load<Sprite> ("Textures/Icons/Mine");
And have broken scales. Two sprites have identical size. Funny, if I duplicate in Editor broken sprite I get right size! If I check all transform data between two GameObject - this will be absolutely equal...
b.png
(107.2 kB)
Comment
Your answer
Follow this Question
Related Questions
So many UI bugs. 1 Answer
UI image dissapears when using localScale. 0 Answers
Unity's Editor UI Frozen/ Not updating, Video included 0 Answers
[EDIT] How do I slowly make a color turn transparent? 2 Answers