Split Screen UI widget Component Showing only in Player 0 screen

When split screen, the Widget component for example of a (healthbar or a nametag ) is displayed only for the first player. How can I make it appear for the second player?

Hey @bigais!

What it’s going to come down to would be:

Where are you creating your widgets? Who are you assigning the widgets to?

Bring us some code! It’s hard to help if we don’t know where you’re at!

Looking forward to your update! :slight_smile:

hello thank you for the quick response . Basically I have this widget attached on the base character as a component. Lets say I want it to be visible on the character when I press jump both on the Player 0 and the Player 1 from split screen. When I do so the widget component is visible only for the Player 0 screen and not the player 1


Hey again @bigais!

I’m assuming you mean the DS style targeting dot in the chest?

So the question is how is this rendering? You need to determine ownership of the widget when it is rendered, which can be done on the widget BP, or it will default to player 0. Also if you only want it on a target, make sure to click “Owner No See” in the details window of the widget component so it doesn’t pop up on their own character.

After research I have found two workarounds. One is to Change the type of the widget and not have it as a component in the character . This way I had to create the widget for both screens and have it Positioned to the requested controlled Player with a Tick.


The second solution is to keep the widget inherited as a component in the viewport and set the widgets owner Player to be the owning local player of a newly created widget that gets immediately removed form parent because getting the local owning player is only available through widgets .

.
Those are the solutions I have found until now I hope it helped someone

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.