# Multiplayer Problem - MyPlayerController blueprint only works for player1

**URL:** <https://forums.unrealengine.com/t/multiplayer-problem-myplayercontroller-blueprint-only-works-for-player1/346106>\
**Category:** Multiplayer & Networking\
**Tags:** spawn, unreal-engine, Multiplayer, Blueprint, question\
**Created:** [February 2, 2016, 1:10am UTC](https://forums.unrealengine.com/t/multiplayer-problem-myplayercontroller-blueprint-only-works-for-player1/346106 "2016-02-02T01:10:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshblaaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshblaaa](https://forums.unrealengine.com/u/joshblaaa)\
**Post date:** [February 2, 2016, 1:10am UTC](https://forums.unrealengine.com/t/multiplayer-problem-myplayercontroller-blueprint-only-works-for-player1/346106/1 "2016-02-02T01:10:41Z")

</div>

Help needed,

I have been coming across a few issues with the second player that spawns in my multiplayer game. It appears that this player isn’t executing the MyPlayerController blueprint… It may have something to do with the ‘get player controller’ process in said blueprint.

I’ve done checks and it seems to dropout at ‘Cast to MyGameMode’ in Setup Ui, Spawn Player as I incur the custom error message every time I try running multiplayer.

[Setup UI, Spawn Player (MyPlayerController BluePrint)](http://imgur.com/dskJqxg)

If it’s useful, here are images [1 & 2 of the MyGameMode blueprint post-login processes](http://imgur.com/a/t7nVE)

Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![paradoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@paradoc](https://forums.unrealengine.com/u/paradoc)\
**Post date:** [February 2, 2016, 2:21pm UTC](https://forums.unrealengine.com/t/multiplayer-problem-myplayercontroller-blueprint-only-works-for-player1/346106/2 "2016-02-02T14:21:54Z")

</div>

Game modes and Player controllers are not replicated in multiplayer games. (game states and player states are). so your game mode cast will always fail on any player beyond the first.

---

<div class="post-metadata">

**Author:** ![joshblaaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshblaaa](https://forums.unrealengine.com/u/joshblaaa)\
**Post date:** [February 3, 2016, 12:10am UTC](https://forums.unrealengine.com/t/multiplayer-problem-myplayercontroller-blueprint-only-works-for-player1/346106/3 "2016-02-03T00:10:35Z")

</div>

Thanks for your comment

---

<div class="post-metadata">

**Author:** ![joshblaaa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@joshblaaa](https://forums.unrealengine.com/u/joshblaaa)\
**Post date:** [February 3, 2016, 12:11am UTC](https://forums.unrealengine.com/t/multiplayer-problem-myplayercontroller-blueprint-only-works-for-player1/346106/4 "2016-02-03T00:11:00Z")

</div>

Thanks to PenguinTD and his wiki guide I actually managed to resolve this

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...
