Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

0

Found in

2019.4

2020.2

2020.2.0a19

Issue ID

1268477

Regression

No

[SRP] SetupCameraProperties creates incorrect projection matrix unless you use buffer.Blit

Camera

-

Reproduction steps:
1. Open attached project "CameraProperties.zip" and scene "Scene"
2. In Hierarchy window, select "Main Camera" GameObject
3. In Inspector window, My Script component, first enable "Blit", then "Extra Setup" variables
4. Compare Scene View's "Main Camera" preview, and Game View

Expected result: The Game View and Main Camera preview match throughout the process
Actual result: The Game View and Main Camera preview match only when a bit occurs before rendering

Reproducible with: 2019.4.10f1 (SRP 7.5.1), 2020.1.6f1 (SRP 9.0.0-preview.60), 2020.2.0b3 (SRP 10.0.0-preview.30)
Could not test with: 2018.4.27f1 (console errors break project)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a4

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b6

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.2f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.21f1

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.