Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2018.4.10f1
2020.2
Issue ID
1246140
Regression
No
[UI] UIBehavioiur.OnRectTransformDimensionsChange() method is called infinitely when AspectRatioFitter is used
How to reproduce:
1. Open the "SampleScene" Scene in the attached "Repro1246140.zip" Project
2. Enter Play Mode and observe the console
Expected Behaviour: The UIBehavioiur.OnRectTransformDimensionsChange() is called definite amount of times
Actual Behaviour: The UIBehavioiur.OnRectTransformDimensionsChange() is called indefinitely (on LTS it is about 100 calls per sec on the trunk it gets to 999 in about half a sec)
Reproducible with: 2018.4.22f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11
Note: If the issue does not reproduce change the aspect ratio in Aspect Ratio Fitter Component and enter Play Mode
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
This is a duplicate of issue #1199877