Search Issue Tracker
Duplicate
Votes
2
Found in
2017.2.0b11
Issue ID
951296
Regression
Yes
Canvas ignores the anchoring set from script when added dynamically as a child of another Canvas
Reproduction steps:
1. Open the attached project "UIBug.zip";
2. Open the Test scene;
3. Press play;
Expected results: there should be a Canvas with another canvas as a child, created on a runtime and a panel inside, that fits the screen size.
Actual results: the child canvas ignores the anchoring set from the script.
Reproduced on: 2017.2.0a1, 2017.2.0b11, 2017.2.0f1, 2017.3.0b1.
Not reproduced on: 5.6.2p3, 2017.1.0f3, 2017.1.1p3.
Regression firstly introduced on: 2017.2.0a1.
Reproducible both on: Windows and Mac OSX.
Not reproducible on 2018.1.0f1.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment