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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment