I have this simple structure inside a Canvas:
- GameObject (Vertical Layout Group)
- UI Image (Vertical Layout Group)
- TMP UGUI Text (Horizontal Layout Group, Content Size Fitter)
- UI Image (Vertical Layout Group)
Now, it works pretty well, when the text gets out of boundaries, the UI-Image expands. But since I have a Layout Group as a parent to my TMP Text, I get an error inside the Text, in the Content Size Fitter, saying that 'The parent has a a type of layout group component...'. And as a result, the image height sometimes doesn't update when I the text changes (doesn't grow or shrink, only after I refresh or save the project).
Am I doing something wrong here?







