Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2017.3.1p2
2018.1.0b8
2018.2.0a2
Issue ID
1009730
Regression
Yes
Calling Transform.SetParents resets localPosition of the UI GameObject
Reproduction steps:
1. Open the attached project "UIBugRepro.zip";
2. Open the repo.unity scene;
3. Enter a play mode;
Expected results: UIObject still has its position set to (-50,-50,10);
Actual results: the position is reset to (0,0,10).
Reproduced on: 2017.3.1p2, 2017.3.1p3, 2018.1.0b8, 2018.1.0b10, 2018.2.0a2, 2018.2.0a3.
Not reproduced on: 2017.1.3p2, 2017.2.1p4, 2017.3.1p1, 2018.1.0b7, 2018.2.0a1.
Postponed: You have to call uiObject.GetComponent<RectTransform>().ForceUpdateRectTransform after setting local positions.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment