Reference ID
28161410-432b-caa1-2c2d-fdbb63353001
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Devices
Summary
HUD Message Device (hud_message_device) Bug, previously shown “Override Default Text Style” settings is being used for next showing HUDMessage.
When trigger 2 groups of HUDMessage device one after another (via verse script Button InteractedWithEvent callback), the result shown incorrect “Override Default Text Style” for the 2nd group of HUDMessage that get shown. For each HUD layer, it seems to be using the “Override Default Text Style” for the previously shown one, so the color and text size are wrong.
Steps to Reproduce
Setup 2 groups HUDMessage of different text size and color (using “Override Default Text Style”). In the example, I use 6 HUDMessage Devices with 3 Red and 3 Blue color (Blue with all the same size 24, Red with varying size 32/24/16), each of them on 3 different layers to be able to show all at once for both groups.
All the HUDMessage’s message has its Text Settings for debugging (Layer, Color, Text Size), eg. “L0: Blue Text 24 (hud.Show())”, “L0: Red Text 32 (hud.Show())”.
- To trigger the HUDMessage, I use verse script that simply do hud_message.Show() when the button activated.
- Additionally, for testing, I added 2 Trigger Devices that show 2 other HUDMessage text (just to test the setup I used in other projects), one of the Trigger get triggered from verse device, another on get triggered from another Trigger Device.
VDO showing both editor setup, and verse script:
Expected Result
Test 1) Trigger Blue HUD, then Red HUD: Expect Blue HUD all size 24 with blue color, then Red HUD all with varying size 32/24/16 with red color.
Test 2) Trigger Red HUD, then Blue HUD: Expect Red HUD all with varying size 32/24/16 with red color, then Blue HUD all with size 24 with blue color.
Observed Result
Result shown incorrect “Override Default Text Style” for the 2nd group of HUDMessage that get shown. For each HUD layer, it seems to be using the “Override Default Text Style” for the previously shown one.
Test 1 Result) [Correct] Blue HUD show all size 24 with blue color, [Wrong] then Red HUD show all “red text” with all size 24 in blue color (expect varying size 32/24/16 with red color).
Test 2) [Correct] Red HUD all with varying size 32/24/16 with red color, [Wrong] then Blue HUD show all “blue text” with varying size 32/24/16 in red color (expect size 24 with blue color).
Platform(s)
windows
Additional Notes
re-post from this (HUD Message (hud_message_device) Bug, previously shown Override text style settings is being used for next HUDMessage)