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.
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.
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.