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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
This is a duplicate of issue #1009730