Set Position in Viewport resets anchor values

I found that the function ‘Set Position in Viewport’ for widgets is resetting the anchors values. I attached a project to test on your end. The Actor ‘AddUI’ creates and adds the widget to the viewport. Then it prints the anchor values for the widget, sets the position to 0 and outputs the anchor values again.

>>Test Project<<

The Values are supposed to stay at:

LogBlueprintUserMessages: [AddUI_52] X=0.000 Y=0.000 # X=1.000 Y=1.000

but they change to:

LogBlueprintUserMessages: [AddUI_52] X=0.000 Y=0.000 # X=0.000 Y=0.000


Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.


This bug seems to be back in UE 5.0.3.
If I set the position it is always from the top left corner, though setting the alignment does work. Obviously not the intended purpose or ideal work around.

UE5.2 でもこの問題は継続しています
SetAnchorsInViewport 関数はほぼ機能しないものなのとなっています