Search Issue Tracker
Fixed
Fixed in 2022.1.9f1
Votes
0
Found in
2022.1.1f1
Issue ID
UUM-860
Regression
No
[Backport] [UIR] Vector image rendering ignores target rect position
How to reproduce:
1. Open project "Interface 2.0.zip"
2. Open "Scene" Scene (Assets>Scenes>Scene)
3. Make sure the Game window is open
4. In the Hierarchy window expand Canvas>Element>Image and select "Image"
5. In the Inspector window scroll down and press on "Inline Style"
6. Adjust the Padding value
7. Observe the Game window top right corner
Expected result: The vector image is scaled from the center
Actual result: The vector image is scaled from the top left corner
Reproducible with: 2021.2.0b16, 2022.1.0a12
Could not test with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1 (Errors: Assets/Interface/ThemeAsset.cs(8,64): error CS8124: Tuple must contain at least two elements.)
Workaround: In the "Element" tab open "Image" and set Vector to "None" then set Texture to any Texture and switch Type from "Vector" to "Texture"
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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Resolution Note (fix version 2022.1.9f1):
Fixed in: 2022.1.9f1