Search Issue Tracker
Not Reproducible
Votes
2
Found in
5.3.2f1
Issue ID
772328
Regression
No
Aspect Ratio Fitter UI script does not update during certain resolution changes
To reproduce:
1. Open attached project
2. Open "AspectRatioFitterBug" scene
3. Play the scene
4. Set aspect ratio to 4:3
5. Set aspect ratio to 16:9
Actual behavior: left button will remain square as expected, because of the script it has attached. The other will become rectangular
Expected behavior: square in the right should behave in the same way as the other
Workaround is the script attached with these lines of code:
float restore = fitter.aspectRatio;
fitter.aspectRatio = fitter.aspectRatio*1.001f;
fitter.aspectRatio = restore;
Not reproducible in 2018.3.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment