Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2020.2.0a14
2020.2.0b10
2021.1
Issue ID
1291977
Regression
Yes
GameObject with Aspect Ratio Fitter Component is anchored to the bottom left and size is set to 0 when it is instantiated
How to reproduce:
1. Open the user's attached "AspectRatioFitterBug" project
2. Open the Scene "SampleScene"
3. Enter the Play Mode
Expected results: The picture is fitted to the Canvas and is visible in the Game view
Actual results: The picture is not fitted to the Canvas and is not visible in the Game view
Reproducible with: 2020.2.0a14, 2020.2.0b12, 2021.1.0a6
Not reproducible with: 2018.4.29f1, 2019.4.15f1, 2020.1.14f1, 2020.2.0a13
Notes:
- The issue is only reproducible when the Aspect Mode in the Aspect Ratio Fitter Component is set to either "Fit In Parent" or "Envelope Parent"
- Disabling and re-enabling the Panel GameObject, Image GameObject, or the Aspect Ratio Fitter Component fixes the issue
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Terrain Tree cast Realtime and Baked shadows simultaneously when "Mixed" Light mode and "Subtractive" Baked Illumination is used in Edit mode
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a8
Resolution Note (fix version 2020.2):
Fixed in 2020.2.4f1