Question about widget component and multiplayer interaction

Hello everyone,

I have a question about how the widget component works in multiplayer.

In my multiplayer game project, which uses an RTS-type camera, I want all players to be able to click on a button that is in the world with a Widget component.

The thing is, on the host, it works quick without any problem, I can click on the button. But on the clients this is not working at all.

After a bit of debugging, I saw that the click is blocked by the Widget component itself, but its visibility is set to ‘Self hit test invisible’.

When I print the visibility status on click on the widget, clients print ‘Self hit test invisible’ → How is it possible ? It should not catch the mouse click.
On the host, it print nothing, and that’s normal.

It’s like the visibility is not applied on clients.

My BP with the Widget Comp. is replicated and the widget itself too.

My BP settings are :

image

image

I think I missed something in the mutlplayer part, but I can’t figure out what.

Someone can explain me ?