Hi everyone. I finally got a problem fixed but now ran into another problem. I have a widget button cast to the level bp with an event dispatcher. Ever time I click on the button everything plays just fine but when exit out I get a runtime error. However for some reason when I use a event begin play, it works with no problem! Can any please explain whats happening. Here are some screen shots.
Do you destroy the vidget when you exit?
You can bind to event ONCE after the widget is created. Binding to it every tick is counterproductive, and I believe it is what causes the error. Your widget is destroyed, but you’re still trying to bind to its event.
Yes I did destroy the widget on exit although it’s not shown in this example. But would removing all widget be the same as destroying it? Also, if that’s the case I’m guessing I should get rid of Event Tick and if so, what else can I use to make sure the button the widget is click?