Thank you I did what you said “go to Edit → Project Settings → Maps and Modes and make sure that the Game State Class is your BP_GameState. The cast won’t fail when you do this.” and it worked
Thank you I did what you said “go to Edit → Project Settings → Maps and Modes and make sure that the Game State Class is your BP_GameState. The cast won’t fail when you do this.” and it worked