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
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
Add comment