RectTransform Width

Hi Guys,
I have a tooltip with dynamic text, and I’m trying to check its width during LateUpdate() using:
_actualWidth = _text1RectTransform.rect.width;

But it looks like the rect.width value is updated only later on (not exactly sure when, but it’s not during the frame where the text was updated)

Did anyone encounter that before?

it updates just before the canvas renders, which is after Late Update. add a function to listen to the Canvas.willRenderCanvases

It works great, thanks Phil : )