Summary
Calling fort_hud_controller.HideElements() appears to be hiding elements that are not passed into the method. The specific one I’ve run into is “creative_hud_identifier_interaction_prompts”. I was hiding some of the resource UI, but when doing so, interaction prompts on buttons disappeared. The workaround was to explicitly call fort_hud_controller.ShowElements() on creative_hud_identifier_interaction_prompts.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Hide UI via fort_hud_controller.HideElement() in Verse.
HUDElementsToHide : []hud_element_identifier = array:
hud_identifier_world_resource_wood{}
hud_identifier_world_resource_stone{}
hud_identifier_world_resource_metal{}
hud_identifier_world_resource_permanite{}
hud_identifier_world_resource_gold_currency{}
hud_identifier_world_resource_ingredient{}
# Hide HUD
Playspace := Self.GetPlayspace()
HUDController := Playspace.GetHUDController()
HUDController.HideElements(HUDElementsToHide)
Expected Result
Only elements passed into HideElements are hidden.
Elements like button interaction should continue to show if not explicitly passed in.
Observed Result
Even with an empty array is passed to HideElements, certain elements (specifically noticed creative_hud_identifier_interaction_prompts) are hidden.
Platform(s)
PC
Additional Notes
There is no HUD controller device in the map. I’m attempting to hide HUD only through Verse.
When I comment out the HideElements call the button interaction text appears again.