-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1312646][1321306] Correctly initialize pixel perfect camera rect on awake + Fix wrong orthoSize being updated #4513
Conversation
It appears that you made a non-draft PR! |
Fix verified on branch: Version: 2021.2.0a17.2411 case 1312646: Verified using user project, all 3 frames of debug logs are consistent at "0.8888889" |
Purpose of this PR
1312646 - Pixel perfect camera's rect was not getting properly initialized. Systems or users depending on the camera's size are unable to retrieve the correct values.
1321306 - Fixed a bug where the pixel perfect camera was updated with the wrong ortho size due to it using the scene view's camera
Testing status
FB: https://fogbugz.unity3d.com/f/cases/1312646/
Ensure Pixel Perfect Camera Height is correct on Start() in scripting.
FB: https://fogbugz.unity3d.com/f/cases/1321306/
Ensure Game view is not longer zoomed in when selecting the main camera in the scene hierarchy.
Comments to reviewers
Notes for the reviewers you have assigned.