NativeOnMouseButtonDown / Double click in Multiplayer

I built my inventory UI using NativeOnMouseButtonDown() and NativeOnMouseButtonDoubleClick() overrides for the inventory slots. This has worked great however as soon as I switch to server and a single client these no longer fire on either, as in I can’t even get these function to log anything. How can I use these functions when switching to multiplayer?

Figured out what was happening here. OnBeginPlay was getting called multiple times (once per client on multiplayer, as well as server) which led to multiple UI spawning and blocking input. I since but this logic in the player controller but only if isLocalPlayerController.

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