Custom Event doesnt get executed in standalone game?!

When i enter my game mode i call some events- this works in pie but not in a standalone game, but why?

when i enter gm i just call an event, which works fine in editor play

then this is all the event does- it doesnt even print a string in standalone

Hey Jeremy_drn-

I tried calling a custom event from the OnPostLogin event in a game mode locally which did print the message in both PIE and standalone. I suspect the custom event is not being triggered because the cast is failing. You can test this by attaching a print string to the Failed condition of your cast node.

I deleted this yesterday i guess, but why should the cast fail when it works in pieand lobbyPC ist the deleted Player Controller for this game Mode

The suggestion was only based on how the blueprint looks, I can’t say for certain if that is the issue or what would cause it without further information. Can you confirm if this is the case for you? If so I would try printing the value of NewPlayer when the cast fails to see what it is set to.

Hey Jeremy_drn-

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Cheers

yeah ty i found a workaround