Search Issue Tracker
Duplicate
Votes
0
Found in
2017.3.1p1
2018.1.0b10
2018.2.0a3
Issue ID
1010659
Regression
Yes
Setting RecTransform.pivot via script offsets the GameObject unless it is selected in the Editor Hierarchy window
How to reproduce:
1. Open attached project ("PivotSettingIssue.zip")
2. Open Scene called "BugDemonstration"
3. Play the game
4. In Hierarchy select Canvas -> BugDemoText
5. Make Game window active by pressing somewhere in the Game view
6. Tap "SpaceBar" multiple times
7. In Hierarchy deselect BugDemoText, by clicking on another GameObject
8. Make Game window active by pressing somewhere in the Game view
9. Tap "SpaceBar" multiple times
Expected result: No matter which GameObject is selected the "BugDemoText" GameObject should not move in Game window when changing its Pivot
Actual result: When "BugDemoText" is not selected and when you are changing its Pivot GameObject moves
First introduced in: 2017.3.1p1
Reproducible with: 2018.2.0a4, 2018.2.0a3, 2018.1.0b11, 2018.1.0b10, 2017.3.1p4, 2017.3.1p1
Not reproducible with: 2018.2.0a2, 2018.2.0a1, 2018.1.0b9, 2018.1.0a1, 2017.3.1f1, 2017.2.2p1, 2017.1.3p1, 5.6.5p2, 5.6.0a1
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
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
This is a duplicate of issue #1009730