Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2019.1.X
Votes
0
Found in
2019.1
2019.1.0b3
Issue ID
1129157
Regression
Yes
Undocumented breaking API change - LayoutGroup.SetChildAlongAxis
Undocumented breaking API change - LayoutGroup.SetChildAlongAxis
There has been a breaking change in the `UnityEngine.UI.LayoutGroup` base class.
In 2018.3 this method had the signature:
protected void SetChildAlongAxis(RectTransform rect, int axis, float pos, float size);
In 2019.1b3 this method has two overloads with these signatures:
protected void SetChildAlongAxis(RectTransform rect, int axis, float scaleFactor, float pos);
protected void SetChildAlongAxis(RectTransform rect, int axis, float scaleFactor, float pos, float size);
All existing uses of this method in 3rd party code have been broken by the introduction of the new "scaleFactor" parameter in the middle of the parameter list. Ideally the new parameter would be placed at the end of the parameter list and default to a value that maintains the existing behaviour of this method.
I couldn't see any mention of this change in the release notes for 2019.1
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 PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Add comment