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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
This is a duplicate of issue #1009730