How could i restart my level when my character overlap gate ?

I made my gamemap, one Gate actor and made one MyGameMode as gamemode override.
I want my game restart again each time player character overlap with Gate actor, it’ll making game going up to new level, restart everything and making new level map for new level.
I made my blueprints in Gate actor blueprint and MyGameMode blueprint like this :



My gate actor

I tried many times but when player overlap with gate actor, my game didn’t going up to new level.
Can someone help me please ?

In image 1:
The Object input for Cast To MyGameMode should be Get Game Mode
The Is Valid check seems unecessary as the cast is only made on overlap by character

In image 2:
The branch is unecessary, unless you have some logic planned for it

Hope that helps

2 Likes

Thanks for help, i changed Object input for Cast To MyGameMode and gameplay jumped to next level.