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
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
- “ReferenceError: Pointer_stringify is not defined” error is thrown when downloading a file
- GameObjects are not rendered when using a fragment shader with RWStructuredBuffer in URP
Add comment