Bug: Owner no see/ Widget Component

Hello!

Currently I’m working with UE4.17 and I’m having some problem with the widget component.

All my characters have a widget component attached to display their respectives health bars but I checked the option owner no see in the widget component’s details panel and is still being showed on the screen. I even tried to set this in the begin play event with the method Set Owner No See and it’s not working.

I found [another post][1], which says this issue was fix with the version 4.8, where I was recommended to open a new thread exposing my issue; so here I’m.
223592-
][3]

Hey just tried it in 4.18 and it worked as it should be have you tried removing then re adding the widget ?
Also you can drag a pin from your widget and call GetOwner and see if its valid if yes try to get the name and see if its your player.

here’s my test

Hello Dreamseeker,

Did Sentorioius’s suggestion help at all?

Are you selecting/switching between characters during gameplay?

Marking answered for tracking purposes. If you are still experiencing this issue reply to re-open.

Thanks,

This issue persists in 4.24.
It only occurs if the widget is set to display on screen rather than in world, hence the test in answers below working ok.

Related ticket: Unreal Engine Issues and Bug Tracker (UE-48546)
Related AnswerHub post: Widget Component does not work with Owner No See in Screen mode!!! - UI - Unreal Engine Forums

This issue persists in 5.1.1. I see the bug ticket says resolved in 2021 but that doesn’t seem to be the case. Does anyone have the solution to this?

What I do is check if locally controlled and deactivate the widget component and set the component’s visibility to false. This works for multiplayer where everyone can see each others but not there own.


Or instead of SetVisibility, the SetWidget function to null also works. Or for a sanity check all three functions together.

This Issue is Still Exist. in ue 5.2.
Owner No see don’t work for widget component.