Summary
Using “do not close” option in popup device and repeatedly clicking one button doesn’t work. If you click “Button 1” then if you want to click it again, you have to click some other button and then back to “Button 1” again.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- Place Popup device
- Enable “Do not close” option
- Connect Button and Popup to this verse
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
debug_device := class(creative_device):
@editable Popup : popup_dialog_device = popup_dialog_device{}
@editable ShowPopupButton : button_device = button_device{}
OnBegin<override>()<suspends>:void=
Popup.RespondingButtonEvent.Subscribe(OnButtonPressed)
ShowPopupButton.InteractedWithEvent.Subscribe(ShowPopup)
OnButtonPressed(Tuple : tuple(agent,int)):void=
Print("Button pressed!")
ShowPopup(Agent : agent):void=
Popup.Show(Agent)
Expected Result
Buttons firing events every time
Observed Result
Button fires event once and then some other button has to be clicked in order to fire event on the first button again
Platform(s)
PC