Search Issue Tracker
By Design
Votes
0
Found in
5.2.0f1
Issue ID
721282
Regression
No
RectTransform rect & sizeDelta incorrect in Awake() when affected by Layout Components
How to reproduce:
1. Open a new project
2. Import attached package
3. Open scene RectTransform Repro Scene.unity
4. Play the scene
- Note how the log prints exclusively zeroes from both .rect and .sizeDelta
- By Design: http://docs.unity3d.com/ScriptReference/Canvas.ForceUpdateCanvases.html
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment