# Widget Component not visible on 2nd player Split-screen.

**URL:** <https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258>\
**Category:** UI\
**Tags:** unreal-engine, splitscreen, Widget, Blueprint, question, UMG\
**Created:** [June 25, 2019, 6:45pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258 "2019-06-25T18:45:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robinson\_Company](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Robinson\_Company](https://forums.unrealengine.com/u/Robinson_Company)\
**Post date:** [June 25, 2019, 6:45pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/1 "2019-06-25T18:45:45Z")

</div>

I have a Split-Screen game setup and objects that have Widget Components on them set to Screen Space and only the 1st Player can see them and the 2nd Player doesn’t. How can I get the 2nd player to also see the widgets, too?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [June 26, 2019, 8:43am UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/2 "2019-06-26T08:43:54Z")

</div>

You need to spawn widget to both players and add it to viewports of both of player controllers.

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [June 26, 2019, 5:06pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/3 "2019-06-26T17:06:00Z")

</div>

You don’t mean HUD widgets, but widget components attached to Actors, floating around above their head or something, like a health bar or name tag, right?

I’m not sure, there’s a few ways this could happen. Is the Only Owner See checkbox ticked on those components? That could do it.

---

<div class="post-metadata">

**Author:** ![TK-Bear](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tk-bear/32/482528_2.png) [@TK-Bear](https://forums.unrealengine.com/u/TK-Bear)\
**Post date:** [September 15, 2020, 1:10am UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/4 "2020-09-15T01:10:32Z")

</div>

I am experiencing the same if anyone knows of a solution.

In my example I am making a shooter for local splitscreen play and each Player Pawn/Character has a Widget Component for a Player Tag Widget with the player name and health. Under the widget setting the User Interface → Space parm is set to Screen. When I change it to World everything works, except world looks pretty bad is its in the world and not on the players screen.

I think its because its not getting added to Controller 2 properly but I cannot figure out how to fix. I’m guessing this probably something that cannot be achieved in blueprints.

My current work around is to add logic to my hud itself that will draw and move it around the player screen , Its more convenient to manage being a component of the player though if anyone has a solution for this.

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [September 17, 2020, 4:14pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/5 "2020-09-17T16:14:47Z")

</div>

What version of Unreal are you using? I noticed some things don’t render properly in other splitscreens unless it is visible to player 1’s splitscreen, on one version of Unreal.

My favorite way to handle player nameplates and healthbars etc is to create a material for the widget component that orients it visually (though its actual rotation may be different) to the viewport camera of whoever is looking at it, and use that material on the widget component, but put that widget in World space not screen space.

The effect of this is that the widget will disappear behind obstacles rather than showing through them, and will get closer and further away along with the actor it’s attached to, but will always appear face-forward, no matter who is looking at it. The only situation where this is a bad thing is when you need the widget to be interactable or collidable, since its real geometry will be facing a different way than the rendered visual of it.

---

<div class="post-metadata">

**Author:** ![TK-Bear](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tk-bear/32/482528_2.png) [@TK-Bear](https://forums.unrealengine.com/u/TK-Bear)\
**Post date:** [September 17, 2020, 6:59pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/6 "2020-09-17T18:59:14Z")

</div>

I’m using 4.25. My solution was going to try and do a search of PAWN that are on Screen, but your solution is likely less expensive.

I’ll look into a material that orients. Do you by any chance have a link to an example. If not, no worries of course because that gives me something to look for, thanks!

---

<div class="post-metadata">

**Author:** ![mightyenigma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mightyenigma](https://forums.unrealengine.com/u/mightyenigma)\
**Post date:** [September 17, 2020, 11:20pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/7 "2020-09-17T23:20:28Z")

</div>

Not sure if this is the way I did it, but it appears to work:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/a/04a3c6a7525c21fc0b03cecaeed0bede26a7798d.jpeg "Face camera via Material (without Particle System)") ](https://www.youtube.com/watch?v=wCE-7Y8WfX8)

---

<div class="post-metadata">

**Author:** ![claytonhdavis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@claytonhdavis](https://forums.unrealengine.com/u/claytonhdavis)\
**Post date:** [December 13, 2020, 4:05pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/8 "2020-12-13T16:05:34Z")

</div>

Thanks for this advice. I struggled with this same issue, and attempted to implement the auto-facing material you suggested. I’m getting a strange behavior with it though. The material is working great in the blueprint editor for my object, but in-game the orientation of the widget is not the same, it is messed up. I’ve quite puzzled. Have you ever had this issue with this implememtation?  
[link text](https://imgur.com/a/NJjMm9Q)

---

<div class="post-metadata">

**Author:** ![claytonhdavis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@claytonhdavis](https://forums.unrealengine.com/u/claytonhdavis)\
**Post date:** [December 13, 2020, 4:12pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/9 "2020-12-13T16:12:06Z")

</div>

To make matters stranger it seems that when I’m far away from the object it works…  
[link text](https://imgur.com/gallery/W4mWW6Z)

---

<div class="post-metadata">

**Author:** ![claytonhdavis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@claytonhdavis](https://forums.unrealengine.com/u/claytonhdavis)\
**Post date:** [December 13, 2020, 4:45pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/10 "2020-12-13T16:45:17Z")

</div>

I ended up finding out how to make the material in a much simpler fashion then what was described in the video. This worked like a charm, thanks

[[Album] Unreal UMG Auto-Rotation for Split Screen Solution ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/3/8f3d7276d8afe6f2c0eefc0410d5b9f994c03653.jpeg "Unreal UMG Auto-Rotation for Split Screen Solution") ](https://imgur.com/gallery/g2KeFyC)

---

<div class="post-metadata">

**Author:** ![claytonhdavis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@claytonhdavis](https://forums.unrealengine.com/u/claytonhdavis)\
**Post date:** [December 13, 2020, 4:45pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/11 "2020-12-13T16:45:35Z")

</div>

[link text](https://imgur.com/gallery/g2KeFyC)

---

<div class="post-metadata">

**Author:** ![MrFlamey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrFlamey](https://forums.unrealengine.com/u/MrFlamey)\
**Post date:** [January 15, 2021, 3:27pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/12 "2021-01-15T15:27:58Z")

</div>

This is not exactly a solution to getting a widget to appear above each player in splitscreen, but I was having the same problem and decided to try and solve it by making a billboard font material that will always face the camera and exist in the world and not require attaching to each player’s viewport.

Add a TextRenderComponent to your Pawn and give it a material something like this:

[https://i.imgur.com/hNhtzNP.png](https://i.imgur.com/hNhtzNP.png)

This material takes into account the orientation of the actor it’s attached to and doesn’t rotate weirdly (from what I can tell so far). You can use the same node setup for the World Position Offset with a texture or whatever instead of a font to make anything billboard in this way.

An added bonus of this method is that the “owner no see” flag works, and the text is occluded by objects by default.

To do it with a widget, I think you need to make sure a copy of the WidgetComponent is added for each extra splitscreen player somehow. I haven’t tested this myself, because it seems like too much hassle just to make a name tag that is visible to each local player, but if I needed a more complex widget that showed health etc. it might be something I’d want to try. If you need to show screen space health widgets on enemies, then I think doing it with billboards and billboard materials is going to be an easier solution than widgets if all local players need to see it.

---

<div class="post-metadata">

**Author:** ![user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://forums.unrealengine.com/u/user_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb)\
**Post date:** [May 3, 2022, 1:23am UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/13 "2022-05-03T01:23:17Z")

</div>

First, You should Check On “Component Replicates” to Widget Component

Second, than you need to make nodes " Run on server to Multicast "

Before, I just have been noticed for long time that Component where attached to Character dosen’t need to rpc or something (Check Replicates)…  
But it’s wrong, There are many complicate things 🙂

---

<div class="post-metadata">

**Author:** ![nufv12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nufv12](https://forums.unrealengine.com/u/nufv12)\
**Post date:** [October 19, 2023, 1:11pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/14 "2023-10-19T13:11:44Z")

</div>

this fixed the issue for my case :

```
ActorWidgetHolder->SetOwner(this->GetOwner());

		if(UGameplayStatics::GetNumLocalPlayerControllers(GetWorld()) > 1)
		{
			if(AAbomPlayerController* APC = Cast<AAbomCharacter>(this->GetOwner())->GetAbomPlayerController())
			{
				const int32 PlayerIndex = APC->GetLocalPlayer()->GetControllerId();
				const APlayerController* LocalPlayerController = UGameplayStatics::GetPlayerController(GetWorld(), PlayerIndex);
				ActorWidgetHolder->WidgetComponent->SetOwnerPlayer(LocalPlayerController->GetLocalPlayer());
			}
		}

```

---

<div class="post-metadata">

**Author:** ![Caviarail](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Caviarail](https://forums.unrealengine.com/u/Caviarail)\
**Post date:** [October 30, 2023, 1:52pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/15 "2023-10-30T13:52:36Z")

</div>

It works. Great, thanks!

Didn’t expect a local player owner at the WidgetComponent itself.

---

<div class="post-metadata">

**Author:** ![KasperLarsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KasperLarsson](https://forums.unrealengine.com/u/KasperLarsson)\
**Post date:** [January 29, 2024, 1:30pm UTC](https://forums.unrealengine.com/t/widget-component-not-visible-on-2nd-player-split-screen/451258/16 "2024-01-29T13:30:45Z")

</div>

Could you try to share your blueprint on this? I am not sure how to access this. Thank you !
