Search Issue Tracker

Fixed

Votes

0

Found in

5.1.0b3

Issue ID

691503

Regression

No

[API] Camera.aspect is a frame out of sync with the actual aspect ratio of the camera

Camera

-

How to reproduce:

1. Open attached project
2. Open scene scene.unity
- Scene has a script attached to the camera which simply prints, in order: Time, Camera.aspect, calculated aspect
3. Play the scene
4. Pause it
5. Change the aspect ratio/size in the game view
6. Click the next frame button a couple of times
- Notice how the manually calculated aspect ratio is updated first, while the Camera.aspect is still in its old state
- In the next frame they are both the same again

Add comment

Log in to post comment