"Project World to Screen" Node is not working as I expected

I am working on a label system which will be draw a line and connect to my widget that usually implement in a science fiction game and I am getting my mesh “world location” and my widget component’s " world location" and convert to screen space so it will draw a line between them to point out the object I need the player to be focus on. However I have print string on the result of world location that I get from both side and it was receiving the location well but while turn to the result after projected the world to screen position, the X and Y remain 0 , 0 and it show errors which it can’t access to the variables.


I am following tutorial from this Youtube video. But the UI way I have done before using my way so I can’t follow they way how he work on the widget completely.

Probably not the answer, but your log tells me you are triggering that on begin play? Try adding a delay of .5 before that.

Can you show the part that you print?

Hello @wong_sk,

Can you please show us how you Set Info WIdget reference please.
Your variables are at 0,0 because they were never set. Access none means your reference variable (Info Widget) is not set (null). You are trying to set Widget World Position vector 2d variable, but it can’t since the reference isn’t a valid one, resulting both Widget World Position and Actor World to Screen values to default to 0,0.

Fix your reference variable and it should work.