I have my character overlap another character - I have set this in a variable called “Suprapunere”. (I have a capsule component on that ‘another character’)
Then when I press the input that I have defined in project settings with this condition
“suprapunere” the widget won’t appear on my screen.
There could be an issue on your detection overlap that resets your variable.
try setting the variable to true on BeginOverlap and false on EndOverlap
Also you cast to your player is not required unless you wish to use it later? and try removing the owning actor from the widget, if you are already inside the player code i dont think its required, i may be wrong, especially as youre using playercontroller ID 0 which means single player.