Search Issue Tracker
Fixed in 5.0.0
Votes
1
Found in [Package]
4.0.1
Issue ID
1312646
Regression
No
Pixel Perfect Camera Height is updated on the third frame
How to reproduce:
1. Open the attached "Ticket Project.zip" Project
2. Open the "TestScene" scene
3. Change the resolution to 1280x720 Landscape on the GameView
4. Enter Play Mode
5. Inspect Console
Expected Behavior: The first debug log represents the height of the GameView
Actual Behavior: Only the third debug log represents the height of the GameView
Reproducible with: 2.1.4 (2019.4.21f1) , 4.0.1 (2020.2.6f1, 2021.1.0b8, 2021.2.0a6)
Could not test with: 2018.4 since the packages break after degrade
Note:
- First and second logs are executed on the 1st and 2nd frame and are logging "1", while the third frame logs "0.8888889".
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 5.0.0):
A fix for this issue will be available on 2D Pixel Perfect package 5.0.0 and above with Unity 2022.1.0a2 and above