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
- WebGL build is missing "malloc" and "free" functions when passing "-sERROR_ON_UNDEFINED_SYMBOLS=0" to emscriptenArgs
- UI Toolkit Slider element is not controlled correctly when using a gamepad controller
- Audio output is of low volume when the Speaker Mode is set to Quad and the Audio Source in the Scene is behind the Camera
- A user gets an error "Failed to import package with error: Cannot import package in play mode." when tries to import TMP essentials, examples or extras
- The Particle System's ShowOnlySelected function doesn't work when toggled via a shortcut
This is a duplicate of issue #1009730