# \[BUG\] Splitscreen with 3 players doesn't work

**URL:** <https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303>\
**Category:** Rendering\
**Tags:** unreal-engine, local-multiplayer, splitscreen, bug-report, Rendering, question\
**Created:** [April 24, 2015, 8:03pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303 "2015-04-24T20:03:31Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nafonso](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nafonso](https://forums.unrealengine.com/u/nafonso)\
**Post date:** [April 24, 2015, 8:03pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/1 "2015-04-24T20:03:31Z")

</div>

**Version:** 4.7.6

**Platform:** Win & Mac

**Description:**

When you launch a game with 3 players in split screen, it will show a black screen. 1, 2, or 4 works fine.

**Repro Steps:**

- Open this repro project
- It should open Start map, but if not open it
- Hit play, notice how it loads a game with 4 players
- Stop it, and open the Start level blueprint
- Change the numPlayers variable to 3, compile
- Hit play, notice how it loads a black screen
- Stop, and change the number of players to 2 or 4 and it will work normally, only 3 is broken.

You can’t really notice there, but when launching the game in 3 player split screen only the UMG widgets will show up, the game is running in the background, just nothing is being shown.

Regards,

Nuno Afonso

---

<div class="post-metadata">

**Author:** ![Reisn7CC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reisn7CC](https://forums.unrealengine.com/u/Reisn7CC)\
**Post date:** [April 27, 2015, 3:50pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/2 "2015-04-27T15:50:20Z")

</div>

I have the same problem. Kinda strange that nobody else is reporting this because there even is a “Three Player Splitscreen Layout” option in the project preferences.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [April 27, 2015, 4:31pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/3 "2015-04-27T16:31:33Z")

</div>

Hi Nafonso,

This has already been reported and a ticket has been submitted for this with UE-9825. I’ve added your post here to the ticket.

Once there is an update we will post any updates.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![Reisn7CC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reisn7CC](https://forums.unrealengine.com/u/Reisn7CC)\
**Post date:** [April 27, 2015, 5:23pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/4 "2015-04-27T17:23:46Z")

</div>

Apparently I was wrong.

---

<div class="post-metadata">

**Author:** ![Greg\_Granato](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Greg\_Granato](https://forums.unrealengine.com/u/Greg_Granato)\
**Post date:** [August 18, 2015, 5:42pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/5 "2015-08-18T17:42:39Z")

</div>

Is there an update on this issue? I noticed that when this black screen happened I could, running in standalone, re-size the window and for some sizes the window would render properly. More specifically, I tested re-sizing the screen width and height independently and found that re-sizing the width would effect the rendering while re-sizing the height did not. I thought maybe this information would help isolate the problem.

---

<div class="post-metadata">

**Author:** ![Tim\_Hobson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Hobson](https://forums.unrealengine.com/u/Tim_Hobson)\
**Post date:** [August 18, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/6 "2015-08-18T20:37:48Z")

</div>

That issue is still backlogged. Unfortunately, there is no time frame for when this will be addressed. I have added your interest in seeing this resolved to the ticket.

Thank you!

Tim

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4235cc8e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4235cc8e](https://forums.unrealengine.com/u/anonymous_user_4235cc8e)\
**Post date:** [November 16, 2015, 5:43pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/7 "2015-11-16T17:43:58Z")

</div>

I found a work-around in GameViewportClient.cpp that avoids the blackscreen problem.  
This is not a proper fix of course, but I think it should help Epic in identifying  
and fixing the real problem.

It appears that when the screen goes black, the calculated value for TotalArea is never  
equal to (MaxX-MinX)_(MaxY-MinY). When the screen does render properly then TotalArea  
is always equal to (MaxX-MinX)_(MaxY-MinY). This is around line 1191 in the 4.10 engine source.

When I took out the condition from the “if” statement below, then the window would  
always render properly (no more black screen) regardless of the resolution used.

I’m guessing there is a problem with rounding or truncation during the calculation  
of TotalArea which only shows for some resolutions.

Here is my change (around line 1191 of GameViewportClient.cpp):

```
// If the views don't cover the entire bounding rectangle, clear the entire buffer.
//if ( ViewFamily.Views.Num() == 0 || TotalArea != (MaxX-MinX)*(MaxY-MinY) || bDisableWorldRendering )
if (ViewFamily.Views.Num() == 0 || bDisableWorldRendering)
{
	SceneCanvas->DrawTile(0,0,InViewport->GetSizeXY().X,InViewport->GetSizeXY().Y,0.0f,0.0f,1.0f,1.f,FLinearColor::Black,NULL,false);
}

```

I hope this information proves useful.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_416b781b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_416b781b](https://forums.unrealengine.com/u/anonymous_user_416b781b)\
**Post date:** [November 18, 2015, 9:01pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/8 "2015-11-18T21:01:26Z")

</div>

Your awesome wjhcc!

You should make a pull request.

---

<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:** [March 9, 2016, 2:21am UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/9 "2016-03-09T02:21:38Z")

</div>

ran across this bug in 4.10.4, however works ok when game is played in new window. when a 3 player local game is played in selected viewport, the bug described above persists. i didn’t try recompiling the source, as my engine download is from the launcher, so not sure if that code change fixes things.

---

<div class="post-metadata">

**Author:** ![PeterLantz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PeterLantz](https://forums.unrealengine.com/u/PeterLantz)\
**Post date:** [May 30, 2016, 4:48pm UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/10 "2016-05-30T16:48:40Z")

</div>

Hopefully this helps anyone, 3 player splitscreen is black in PIE, but works fine when the game is built in my version.

---

<div class="post-metadata">

**Author:** ![shadowkami](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shadowkami](https://forums.unrealengine.com/u/shadowkami)\
**Post date:** [September 7, 2017, 3:10am UTC](https://forums.unrealengine.com/t/bug-splitscreen-with-3-players-doesnt-work/316303/11 "2017-09-07T03:10:31Z")

</div>

I can’t run with 3 player,but I delected the ReflectPlane,it’s ok.Any bug with local multiplayer and ReflectPlane?
