My ViewPortSize is returning 0,0

urc_s04_finding_screen_pixel_coordinates

#1

So everything was fine, doing the challenges fine. But for this:

GetViewportSize(ViewPortSizeX, ViewPortSizeY);

It is returning 0,0 every time. I gather from Google this is accessed via the local player, but I am not sure what I did not set up correctly for me to not have the local player correct.

Anyone got any ideas?


#2

So I figured out what was happening, but my dot is no longer showing on the screen. But at least I know where it is supposed to be.


#3

The same problem also occurs to me. I could figure out why my UE_LOG returning 0,0 to me. But I couldn’t make the dot showing up on the screen. How did you fix that?