Hi! I recently updated to Unity 2013.3.0p1 and I came across this bug when working on my project. Its kinda difficult to explain, so I made a video to illustrate it:
https://drive.google.com/open?id=1W4CrKIijg6wZm8PDyWZxQneNyD5XLkd7
As you can see, when creating several elements with an AspectRatioFitter component attached on any of its children and storing them as a prefab throws a warning on the console. If then you drag the prefab to the scene, the parent panel resets its position to the middle of the container panel.
In this video you can see that the first AspectRatioFitter affects every other element in the UI, wether it has an AspectRatioFitter itself or not:
https://drive.google.com/open?id=1tesSv5fXqYIOB3Tt9pEifKQQlFOcIYeD
And in this last one you can clearly see that the UI elements placed before in the hierarchy than the first AspectRatioFitter component will NOT be affected, while the ones placed after it will have the strange behaviour. If you change the order, the elements affected will therefore change:
https://drive.google.com/open?id=1Xj4d6fuSnGGTPazs7k5sJTaBAvQRvadZ
Anyone has a workaround for this behaviour? Is it a bug the Unity team is aware of and we can expect a fix for it on the next patch release?
This is a very annoying bug, the AspectRatioFitter is a very common component and it’s all over my project, messing up all my UI prefabs! Any help will be much appreciated.
Thanks!
Jose