Download

Trying to create restart game button; getting a cast failed message

I created a custom HUD for a ‘Game Over’ screen with a button to restart the game. The button has an event tied to the ‘On Clicked’ event. To restart the game, I (thought) that what I needed to do was cast to the current game mode and then call the Restart Game function. A screenshot of my blueprint is pasted below. When I click the Restart button, the text “Cast Failed” appears on the screen, which tells me that I’m missing something. Can someone point me in the right direction?

Thank you for taking the time to read this.

-Dan

You are apparently, not using that game mode ( have you configured a custom mode? )

I seem to recall, you call restart game without the cast.