Summary
I have reported this issue 4 times now I think, I 've been told is by design, but there is no way this bug has been in there since UEFN release by design, as it both confusing everyone, and encountered in every project. There is no direct setting in the device that fixes this (that it tells you that it addresses this occurring), so I am assuming this was not caught properly last time. Anyhow, resubmitting for now because it’s a annoying one.
HUD Message device “anchoring” for widgets will mess up the anchoring of the next widget (and non-widget) message, if they are not the same. The only fix now is to make it the same (“Center”), or play with disabling the style override (which sometimes works, others it doesn’t).
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Steps to Reproduce
- Ensure HUD scale in options is 100% and the window resolution is 1920x1080 for the purpose of this repro.
- Make a widget, add a canvas, then a HD-res image texture that covers it all (don’t use a flat color, you need to see where its edges are). The image anchor is in the center.
- Duplicate the widget and add a second image texture (same res and ratio) so you can tell the difference. Anchor in the center again.
- Assign both widgets to a HUD message device, set their position to custom, and their anchoring to “Center” and “Center full” (you can try different settings here to see the issue more clearly, you can also have a third HUD device that has no custom widgets, just text, as this is affected too)
- Place two buttons, each for each HUD message device to show.
- Test and press button A then B
- Restart game, then press B then A
Expected Result
Both widgets show in the same position regardless of the order of the buttons being pressed.
Observed Result
The position of the widget’s anchor is affected by the previous HUD Message device.
Platform(s)
All