Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b5
Issue ID
599998
Regression
No
UGUI - Layout of dynamically attached objects not updating until screen size refresh
Issue 1 - Incorrect layout until Game View is resized :
- import the project attached in a comment further down called case_599998-UpdatedParenting
- choose 16:9 in the Game View
- open the "AttachScene"
- drag the prefab "BookParentPanelSolo" onto the "Canvas" GameObject
- notice that the book layout is displayed weirdly and partly not rendered (many RectTransforms have negative size)
- resize the Game View and notice that the book layout is displayed correctly
Issue 2 - Some RectTransforms instantiated at runtime have wrong positions :
- import the project attached in a comment further down called case_599998-UpdatedParenting
- choose 16:9 in the Game View
- open the "AttachScene"
- drag the prefab "BookParentPanelSolo" onto the "Canvas" GameObject
- press play, which instantiates the prefab at runtime (called "BookParentPanelSolo(Clone)")
- resize the Game View to ensure both versions have been refreshed
- compare the TabButtonAnimal GameObject under the "BookParentPanelSolo" and "BookParentPanelSolo(Clone)" objects and notice that the clone one has a different position.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment