Search Issue Tracker

Fixed in 7.2.0

Votes

0

Found in [Package]

7.1.2

Issue ID

1188695

Regression

Yes

Pixel Perfect Camera Component does not maintain the aspect ratio when the "Stretch Fill" is enabled

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open the attached project ("case_1188695-Project.zip")
2. Open the AspectRatioBug from the Scene folder
3. Enter the Play mode
4. Change the Game View's aspect ratio to something different from 16:9

Expected result: The aspect ratio is maintained. (Black bars are added if needed)
Actual result: The aspect ratio is not maintained, it stretches to fill the screen.

Reproduced in Unity versions: 2019.3.0a10, 2019.3.0b6, 2020.1.0a7
Not reproduced in Unity versions: 2018.4.10f1, 2019.2.7f2, 2019.3.0a9 (Didn't have the Package version in which the bug was found)
Couldn't test with: 2017.4 (No Package Manager)

Reproduced in Package version: 2.0.2
Not reproduced in Package versions: 1.0.0, 1.0.1

  1. Resolution Note (fix version 7.2.0):

    Package available in Unity 2019.3.0f6, 2020.1.0a1 and above

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.