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
- “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
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment