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
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
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
- [iOS] SystemInfo.systemMemorySize returns negative values
- [Physics Debugger] Colliders are visualized even if their Layer is not selected in the Show Layers property
- Crash on PAL_LocalIPC_IsConnected when IPC fails on launch
- [UWP] Builds fail with Rewired
- [macOS] Video Player's 5.1 audio channel layout is incorrect when outputting to Audio Source
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
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0b8
Resolution Note (fix version 2020.2):
Fixed in 2020.2.7f1