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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment