Cannot restart game

See the image, the error shows the target self is not a gamemode, but the buleprint is actually gamemode. Could you please tell me why this happen and how to fix it.

Many thanks.

See the image, the error shows the target self is not a gamemode, but the buleprint is actually gamemode. Could you please tell me why this happen and how to fix it.

** The blueprint is NOT actually gamemode but “mygamemode”. Either cast to that, or change “gamemode” to “mygamemode” in project settings and it should work.