Viewport/Canvas returns wrong size at first frame.
I'm making my custom HUD class and I came across a bug.
At first frame Viewport (PlayerController->GetViewportSize(Width, Height)) and Canvas (Canvas->SizeX, Canvas->SizeY) return wrong size.
When playing in new window it returns 1294, 754 in first frame which is wrong.
In next frames it returns 1280, 720 which is good.
It looks like it returns window size with borders in the first frame.
We have not heard back from you for a few days. Do you still need help with this issue? I will be marking this issue as resolved for tracking purposes, but please feel free to re-open this issue at any time if you need any more help.
answered Jan 08 '15 at 09:39 PM
Tim C ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here