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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment