Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0f3
Issue ID
874062
Regression
No
RectTransform Width and Height are reset to zero when a LayoutElement.IgnoreLayout is set to true on Start/Awake
Reproduction steps:
1. Open the attached project "UITest.zip";
2. Open the "TestScene.unity";
3. Observe that the Canvas has gameObject Button_01;
4. Enter the Play mode;
5. Observe that Button_01 Width and Height are set to zero.
Expected results: The gameObject will be visible even if LayoutElement.IgnoreLayout is set to true on Start;
Actual results: The gameObject is not visible.
Reproduced on: 5.3.6p6, 5.4.1f1, 5.5.0f3, 5.6.0b5.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Add comment