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
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)
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] Postprocessing errors appear when using RenderGraph and NativeRenderPass
- Can't add a Scene to a Baking Set when it has just been deleted from the Set
- [iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
- [Android] Player crashes at launch with error when built with custom Editor build
- Memory Leak when using InstantiateAsnyc to instantiate a large Prefab
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a4
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0b6
Resolution Note (fix version 2020.3):
Fixed in 2020.3.2f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.21f1