So I have a little chat component and I use RectTransform with Text to show them in Scroll Rect.
After updating to 5.2 all those objects are reporting width and height of 0.
Because of this chat stopped working - all strings are 0 in size and are not visible.
How do I make them calculate their sizes correctly?
What I want:
A chat like window where lines appear on the bottom of the window. After a new line appears, the previous one is shifted up. This was working perfectly in 5.1
Now in 5.2 this is broken. All lines are 0 width and height and are stuck on the bottom, invisible. If I change their size manually to something, I can see them and they behave normally. How do I make Texts calculate their sizes correctly?