Calling "CreatePlayer()" twice but getting three players in game

Hi,

I’ve been following the tutorial at Blueprint Implementing Local Multiplayer | Live Training | Unreal Engine - YouTube. It’s a great tutorial but I’m confused about one thing. In the tutorial he creates a four player split screen, I want to create a two player split screen game. Therefore, instead of calling create player four times I only call it twice as in the picture below. This splits the screen three times however and GetNumPlayers() returns 3. And only two of the screens/controllers work as intended. If I spawn in player1 (using the keyboard) it works fine and takes input but as soon as I spawn in player2 or 3 the camera of player1 seems to freeze and it no longer takes input. So my question is why is there a third player? Is it some kind of default player and why does it not work?

I’ve also tried calling create player only once. This causes the screen to split twice but the same problem as I mentioned above is still there. I.e. player1 seems to work until I spawn in player2.

I also tried to use the default third person character instead of my custom character. The issue of there being three player instances when calling createplayer twice remained but this time the screen that did not work/take input in the above mentioned examples began to work as intended.

I’m guessing this has something to do with my character being based on the “Pawn” class and not the character class, or perhaps I’m not setting something up correctly.

Thankful for any advice,

If anyone knows of a reference that handles the multiplayer system in unreal engine that would be greate as well.

Have you tried using 0 for the first “Create Player” node and then -1 and/or 0 for the next? Splitscreen is an iffy thing to get working, I was having this problem a while ago when I was working on a project like that.

This solved it for me, thanks!

This solved it for me, thanks!

Could you please explain what it is you did? I’m having the same issue and changing the controller id for me is not fixing the camera or lack of input for the first player