Custom event Not activated in the Packaged game

Can someone help me please?
I have a custom event in my MainHud Widget that I activate from the loading and everything works great in the editor.
But for some reason after I package the game this event is not activated and I tried to activate it in all kinds of different ways,but it is as if the finished game does not see this event.

This is the Custom event:

The activation:

Did you package as Development?

  1. Try deselecting TopLevelOnly on GetAllWidgetsOfClass
  2. Try to see if the array has a length
  3. Try a Get from the array and use index 0
  4. Does the event not fire or is the texture not valid? (just to confirm)

Thank you for your reply!
There is no problem with the texture, simply from the many tests I have already done, the custom event simply does not activate at all.
Everything works great in the editor.
And yes, I package as Development only toto try to understand where the problem is with prints and it seems that there is simply no activation .

When you try to execute the event, is your MainHud already created?

Yes. In the editor it works great. All the time .

I mean in the packaged game. Could it be possible that you try to reach the hud but it is not created at this time? Are you checking if your hud is valid before you come to SetHasWeapon and GetAllWidgets

1 Like

I didn’t think about it, but it turns out that in the packaged game the time things take to rise is shorter sometimes so there really isn’t a MainHud yet at this point.
I made a small delay before I get the MainHud and everything works!
Thank you very much!!

2 Likes