Search Issue Tracker
Duplicate
Votes
7
Found in
2019.1.0a5
2019.1.0f2
2019.2.0a1
Issue ID
1146807
Regression
Yes
UI Image does not scale together with RectTransform when using RectTransform.sizeDelta and Sprite is changed via Script
Reproduction steps:
1. Open the project inside of "PruebaRectTransform2019.zip"
2. Open and Play "SampleScene"
3. Press on Keyboard Arrow Key "Down ↓ "
Expected result: The UI image scales together with RectTransform
Actual result: The UI image does not scale together with RectTransform
Reproduces on: 2019.1.0a5, 2019.1.0f2, 2019.2.0a12
Does not reproduce on: 2017.4.25f1, 2018.3.13f1, 2019.1.0a4
Duplicate case of: https://issuetracker.unity3d.com/issues/image-color-cannot-be-changed-via-script-when-image-type-is-set-to-simple
-
timbo3DDev44
Apr 18, 2019 05:31
This seems to happen after you assign a sprite to an image. "Image.sprite = sprite"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
This is a duplicate of issue #1143135