Multiplayer get Hit Result under Cursor

I’m making a multiplayer game and I have a problem with “Get Hit Result under Cursor”
The hit location is displayed with a decal component.
But I need a player controller do call the function “Get Hit Result under Cursor”

But this does not work, because the player controller is only replicated to the server and itself. Other clients can’t see this.

It looks like this all comes down to correctly replicating your 3D Cursor actor. What I would do is:

  • Set the 3D Cursors owner to it’s respective player controller (if you are not already)
  • Add a reliable server RPC to your 3D Cursor class that calls SetWorldLocationRotation
  • Make sure 3D Cursor is set to replicate