Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.3.0f1
2018.2.0f2
Issue ID
1060027
Regression
Yes
AspectRatioFitter has one frame delay after enabling a GameObject when envelope parent mode is used
If AspectRatioFitter is used with envelope parent mode then layouting is exhibiting a one frame delay when the game object containing the component is enabled
To reproduce:
1. Download attached project "AspectRatioFitterBug.zip" and open in Unity
2. Open "SampleScene" Scene
3. Enter Play mode
4. Click one of the buttons enabling a GameObject containing AspectRatioFitter
5. Observer how it takes one frame for it to do layouting
Notes:
- This issue reproduces on both Windows and OSX
- This issue reproduces on Standalone
- This bug seems to be the same as reported here:
https://issuetracker.unity3d.com/issues/the-aspectratiofitter-with-envelope-parent-mode-doesnt-control-the-recttransform-at-the-first-frame-after-changing-the-scene
- The difference is that in the reported issue the delay was after changing the scene, here it's just enabling a GameObject
Reproduced on Unity 2017.3.0f1, 2017.3.2f1, 2017.4.7f1, 2018.1.9f1, 2018.2.0f2 and 2018.3.0a5
Not reproduced on Unity 2017.2.3p2 and 2017.3.0b11
Regression on Unity 2017.3.0f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment