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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment