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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
Add comment