Cast PlayerController to MyPlayerController is failed

Setting up your own Gamemode for the world and setting up the player controller in the gamemode should work maybe there is something wrong with your setup.

124775-world+gamemode.png