Search Issue Tracker

Fixed in 2021.2

Fixed in 2020.2, 2021.1

Votes

7

Found in

2020.2.0a14

2020.2.1f1

2021.1

2021.2

Issue ID

1302464

Regression

Yes

AspectRatioFitter gives a warning when changing the Components Aspect Ratio if it's attached to a Canvas

uGUI

-

How to reproduce:
1. Open the attached "1302464.zip" project
2. Open the "SampleScene" Scene
3. In the Hierarchy go to Canvas -> Content -> MainPanel
4. In the Inspector notice the Aspect Ratio field of the Aspect Ratio Fitter

Expected results: AspectRatioFitter allows the use of various aspect ratios
Actual results: AspectRatioFitter gives a warning when trying to set the Aspect Ratio

Reproducible with: 2020.2.0a14, 2020.2.2f1. 2021.1.0b1, 2021.2.0a2
Not reproducible with: 2019.4.17f1, 2020.1.17f1, 2020.2.0a13
Could not test with: 2018.4.30f1 (AspectRatioFitter not available)

Note:
-The given warning: You cannot use this Aspect Mode because this Component is attached to a Canvas with a fixed width and height

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a5
    Ensuring we only disable the ARF for root nonworldspace canvas's as they are the ones that have a fixed resolution that would be overwritten constantly

  2. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0b8

  3. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.7f1

Comments (1)

  1. 64997828c7bb6a64e0f8a050a5963125?d=mm

    iamarugin

    Feb 24, 2021 21:29

    2020.2 PLEASE?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.